class A{public static void main(String[]a){for(int i=-1,j,k;i++<255;System.out.print(k))for(j=i,k=0;j>0;j/=2)k+=j&1;;}}