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