Color Inversion by st01

while 1:p=raw_input();r=p and'#'+''.join(map(lambda i:hex(15-int(i,16))[2:],p[1:]))or'';print r

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top