atcoder#ARC088A. [ABC083C] Multiple Gift
[ABC083C] Multiple Gift
Score : points
Problem Statement
As a token of his gratitude, Takahashi has decided to give his mother an integer sequence. The sequence needs to satisfy the conditions below:
- consists of integers between and (inclusive).
- For each , is a multiple of and strictly greater than .
Find the maximum possible length of the sequence.
Constraints
- All input values are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the maximum possible length of the sequence.
3 20
3
The sequence satisfies the conditions.
25 100
3
314159265 358979323846264338
31