print(1,3,8,16,32,64,128,256,512)