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