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