for(c in m=readline(x=6))putstr('54321*0'[x-=m[c]+1]||A)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page