#coding :utf-8

loop{
 input = gets.split(" ")
 a = input[0].to_i
 b = input[1]
 c = input[2].to_i
 if b == "?"
  break
 elsif b == "+"
  puts a+c
 elsif b == "-"
  puts a-c
 elsif b == "*"
  puts a*c
 elsif b == "/"
  puts a/c
 end
}