c, op, d = gets.split
a = c.to_i
b = d.to_i
while op != "?" do
	if op == "+" then
		puts a + b
	elsif op == "-" then
		puts a - b
	elsif op == "*" then
		puts a * b
	elsif op == "/" then
		puts a / b
	end
	c, op, d = gets.split
	a = c.to_i
	b = d.to_i
end