while 1: i=w=0 a=input() while 0<=i<len(a):w+=1;i+=w*(ord(a[i])-61) print(int(i>0))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page