a, b = map(float, input().split())
s = input()
if (s == "+"):
print(a+b)
elif (s == "-"):
print(a-b)
elif (s == "*"):
print(a*b)
else:
print(a/b)