n=0 for c in input():n-=ord(c);print(end='0*12345'[n%11])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page