a = Array.new()
op = Array.new()
b = Array.new()
i = 0
c, op[0], d = gets.split
a[0] = c.to_i
b[0] = d.to_i
while op[i] != "?" do
	i += 1
	c, op[i], d = gets.split
	a[i] = c.to_i
	b[i] = d.to_i
end
i = 0
while op[i] != "?" do
	if op[i] == "+" then
		puts "#{a[i] + b[i]}"
	end
	if op[i] == "-" then
		puts "#{a[i] - b[i]}"
	end
	if op[i] == "*" then
		puts "#{a[i] * b[i]}"
	end
	if op[i] == "/" then
		puts "#{a[i] / b[i]}"
	end
	i += 1
end