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