for s in open(0):i=0;exec("try:s%((0,)*i)\nexcept:i+=1\n"*99);print(i)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page