Professional Documents
Culture Documents
Maximum Length - PrepBytes
Maximum Length - PrepBytes
Compute the maximum length of an integer sequence A which satisfies the following conditions.
Input Format
The first line contains two space-separated integers X and Y .
Output Format
Print a single integer, maximum possible length of the sequence.
Time Limit
1 second
Constraints
1 ≤ X, Y ≤ 1018
Example
Sample Input 1
3 20
Sample Output 1