import sys
for s in sys.stdin:
print(eval(s.replace("/", "//")))
try:
while True:
n=input()
print(eval(n))
except EOFError:
pass