num1 = float(input())
num2 = float(input())
action = str(input())
if action == "+":
    print(num1 + num2)
elif action == "-":
    print(num1 - num2)
elif action == "*":
    print(num1 * num2)
elif action == "/":
    print(num1 / num2)
