The B Programming Language by kimiyuki

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).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page