N = int(input()) ans = [1] for i in range(N-1): ans.append(3) print(*ans)