N = int(input()) l = [3 for i in range(N - 1)] l.append(1) print(" ".join(map(str,l)))