# TODO
a = int(input())
b = int(input())
opr = input()

if opr == "+":
    ans = a + b
elif opr == "-":
    ans = a - b
elif opr == "*":
    ans = a * b
elif opr == "/":
    ans = a / b
elif opr == "//":
    ans = a // b
elif opr == "%":
    ans = a % b
print(ans)
