n = int(input()) print(*(2**i for i in range(n)))