N = int(input()) GCD = [2] for _ in range(N-2): GCD.append(GCD[-1]*2) GCD = GCD[::-1] ans = [GCD[0]] for i in range(N-1): ans.append(ans[-1]+GCD[i]) print(*ans)