N=int(input()) A=[1]*N for i in range(N): a=i+1 while a%2==0: A[i]+=1 a//=2 print(*A,sep="")