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