n = int(input()) X = [1 << 24] add = 1 << 24 for _ in range(n - 1): X.append(X[-1] + add) add >>= 1 print(*X)