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