####题目描述:1001
####解题代码(Python3):
figure = int(input())
count = 0
while figure != 1:
if figure%2 == 0:
figure = figure/2
count = count + 1
else:
figure = (3*figure+1)/2
count = count + 1
print(count)
####注意事项:
如果显示“返回非零”,解决办法就是删除其中的中文字符。