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