i = 0
while i < 100 do
a,op,b = gets.split(" ")
a = a.to_i
b = b.to_i
if op == "+"
	c = a + b
elsif op == "-"
	c = a - b
elsif op == "*"
	c = a * b
elsif op == "/"
	c = a / b
elsif op == "?"
	break
end

puts c


end
