import scala.io.StdIn

/**
  * AOJ
  */
object Main {

  def main(args: Array[String]): Unit = {

    while(true){
      val in = StdIn.readLine().split(" ")
      if(in(1).toString == "?") return
      println(
        in(1).toString match {
          case "+" => in(0).toInt + in(2).toInt
          case "-" => in(0).toInt - in(2).toInt
          case "*" => in(0).toInt * in(2).toInt
          case "/" => in(0).toInt / in(2).toInt
        }
      )
    }
  }
}