N=int(input()) ANS=[0]*(N+1) for i in range(1,N+1): x=1 y=i while y%2==0: x+=1 y//=2 ANS[i]=x print("".join(map(str,ANS[1:])))