Problem F
Longest Collatz Chain
Languages
en
is
The Collatz conjecture says that if you take a positive
integer
We want to find what number
Input
The first and only line of input contains a positive integer
Output
Print the number
Sample Input 1 | Sample Output 1 |
---|---|
100000 |
77031 |