Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: B
Result: Accepted
Time: 123ms
Memory: 21432kB
Author: 13105720657
In contest: 1086

x=int(raw_input())
s=0
while x>1:
  if x%2==0:
    x=x/2
  else:
    x=x*3+1
  s=s+1
print s