main=interact$f.read.concat.("0x":).reverse.words f 8="" f x=read("'\\"++shows(mod x 512)"'"):f(div x 512)