# -*- coding: utf-8 -*- import re s, = map(str, raw_input().split()) m = re.search("^([+-]?\d+)([+-])([+-]?\d+)$", s) a = int(m.group(1)) b = int(m.group(3)) print a + b if m.group(2) == '-' else a - b