class A{public static void main(String[]a){for(int i=0;i<256;)System.out.print(Long.bitCount(i++));}}