import scala.io.StdIn.readLine

object Main {

  def main(args: Array[String]) = {
      var n = readLine.split(" ")
      while( n(1) != "?" ) {
        n(1) match {
          case "+" => println(n(0).toInt + n(2).toInt)
          case "-" => println(n(0).toInt - n(2).toInt)
          case "/" => println(n(0).toInt / n(2).toInt)
          case "*" => println(n(0).toInt * n(2).toInt)
        }
        n = readLine.split(" ")
      }
  }
}