while 1: s=raw_input() if cmp(*[reduce(lambda a,b:a*a**(a==b)+cmp(b,a)*b,map(int,x.split()))for x in s.split('=')]):print s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page