run=['+','-','*','/'] a,b,c=input().split(' ') for i in run: str=a+i+b+'=='+c if eval(str): print(i) break else: print('error')