for i in range(256):print(int(bin(256+i)[:2:-1],2))