import re s = raw_input() g = re.search("([+-]?[0-9]+)([+-]?)([+-]?[0-9]+)", s) ls = g.groups() a = int(ls[0]) b = int(ls[2]) if ls[1] == '+': print a - b else: print a + b