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