import sys o="" for l in zip(*sys.stdin):L=`l`.count;o+=chr(ord(l[0])-L("-")+L("+")) print o
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page