#yuki-1351 N = int(input()) A = [0]*N A[0] = 3*2**(N-2) A[1] = 2 A[2] = 3 for i in range(3, N): A[i] = 2*A[i-1] print(*A)