n = int(input()) ans = [1] + [3] * (n - 1) print(" ".join(map(str, ans)))