def f(c,*s): if'if'!=c:return c,s p,s=f(*s) q,s=f(*s[1:]) r,s=f(*s[1:]) return[r,q][p>'s'],s while True: print(f(*input().split())[0])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page