N = int(input()) ans = [1] + [3]*(N-1) print(*ans)