10 5 SUB
5
import sys
p=sys.stdin.read().strip().split()
if len(p)<3: sys.exit(0)
a=int(p[0]); b=int(p[1]); op=p[2]
def apply(x,y,o):
if o=='ADD':
return x+y
if o=='SUB':
return x-y
return x*y
sys.stdout.write(str(apply(a,b,op)))
import sys
p=sys.stdin.read().strip().split()
if len(p)<3: sys.exit(0)
a=int(p[0]); b=int(p[1]); op=p[2]
def apply(x,y,o):
if o=='ADD':
return x+y
if o=='SUB':
return x-y
return x*y
sys.stdout.write(str(apply(a,b,op)))