#33329: Python: AC (18ms, 3.3MB)


imlindora@gmail.com (Augus)


for i in range(int(input())+1): print(f'2^{i} = {pow(2,i)}')