Time limit
2s
Memory limit
128 MB
You are given an integer N between 0 and 99, inclusive. Repeatedly make a new number with the following operation.
0.The cycle length of N is the number of operations needed until the original number N appears again. Given N, write a program that computes its cycle length.
The first line contains an integer N. N is between 0 and 99, inclusive.
Print the cycle length of N on the first line.