siki = gets.chomp.split("\s")
a, b = siki[0].to_i, siki[2].to_i

until siki[1] == "?"
	case	siki[1]
		when	"+"
			puts a + b
		when	"-"
			puts a - b
		when	"*"
			puts a * b
		else	
			puts a / b
	end
	
	siki = gets.chomp.split
	a, b = siki[0].to_i, siki[2].to_i
end