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