N=int(input()) l=['3'for _ in range(N)] l[0]='1' print(' '.join(l))