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