n=int(input()) while n!=1: if n%2!=0: print(f"{n}3+1={n3+1}") n= n * 3 + 1 else n%2==0: print(f"{n}//2={n//2}") n= n// 2 print("End")