ISBN2 by hirose

while 1:r=raw_input();i=0;exec's=r.replace("?",`i`);n=k=0;i+=1\nfor j in s[4:]:n+=int(j,36)%23*~k;k=[k+1,2-k][len(r)%2]\nif n%(10+k/9)<1:print s\n'*10

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

download

return top