while true
	data = gets.split
	data[0] = data[0].to_i
	data[2] = data[2].to_i
	if data[1] == '+'
		puts data[0] + data[2]
	elsif data[1] == '-'
		puts data[0] - data[2]
	elsif data[1] == '*'
		puts data[0] * data[2]
	elsif data[1] == '/'
		puts data[0] / data[2]
	else
		break
	end
end