s=input() num=int(s[1]) l=1189 w=841 while(num!=0): temp=w w=int(l/2) l=temp num-=1 print(l,w,sep='\n')
鸽鸽。。。