N=int(input()) print(1,end=" ") for i in range(N-1): print(3,end=" ")