a = [0]
until a[1] == "?" do
    a = gets.split
	a[0] = a[0].to_i
	a[2] = a[2].to_i
	break if a[1] == "?"
    case a[1]
    when "+" then
        ans = a[0] + a[2]
    when "-" then
        ans = a[0] - a[2]
    when "*" then
        ans = a[0] * a[2]
    when "/" then
        ans = a[0] / a[2]
    end
	puts ans
end