main=interact$unlines.map((\[a,b]->last("":[show(div(a+b)12)|div(a+b)12>0])++["0123456789AB"!!mod(a+b)12]).map(read.("0x"++)).words).lines
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page