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