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