var s,b,m="?9" while(1>0){m=readLine;b=m.replace('?',s(s.indexOf(m.max)+2));if(b<m)println(b);s=b+1+b+s}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page