sug = 10 ** 9 while sug >= 1: print(sug) rep = int(input()) sug //= 2