n=int(input()) ans=[1] for i in range(1,n): ans.append(3) t=" ".join(map(str,ans)) print(t)