N = int(input()) A = [3*pow(2,N-2)-pow(2,N-k) for k in range(1,N+1)] print(*A)