packed UTF 9 by zetamatta

S=N=0;O=""
for c in raw_input().split():
 S+=int(c,16)<<N;N+=8
 if N>8:N-=9;O+=chr(S&255);S=S>>9&(1<<N)-1
print O

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

download

return top