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