<reponame>conao3/coder
a, op, b = input().split()
a, b = int(a), int(b)

if op == '+':
    print(a + b)
elif op == '-':
    print(a - b)

a, op, b = input().split()
a, b = int(a), int(b)

if op == '+':
    print(a + b)
elif op == '-':
    print(a - b)