import math n = int(input()) ans = [0] * math.ceil(n / 2) ans[0] = 1 for i in range(1, math.ceil(n / 2)): ans[i] = ans[i - 1] * 2 print(*ans)