for(x=-1;++x<255;)print(x^parseInt(x.toString(2).split('').reverse().join(''),2))