a = gets.split
a[0]=a[0].to_i
a[2]=a[2].to_i
until a[0] == 0 && a[1] == "?" && a[2] == 0 do
if a[1] == "+" then
 puts "#{a[0]+a[2]}"
end
if a[1] == "-" then
 puts "#{a[0]-a[2]}"
end
if a[1] == "*" then
 puts "#{a[0]*a[2]}"
end
if a[1] == "/" then
 puts "#{a[0]/a[2]}"
end
a = gets.split
a[0]=a[0].to_i
a[2]=a[2].to_i
end