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