N = int(input()) A = [2, 3] for i in range(2, N): A.append(A[i-1] * 2) print(" ".join([str(i) for i in A]))