object main {
  def main(args: Array[String]): Unit = {
    for(line <- io.Source.stdin.getLines()) {
      val scanner = new java.util.Scanner(line)
      val a = scanner.nextInt
      val op = scanner.next
      val b = scanner.nextInt

      switch(op) {
        case "?" => System.exit(0)
        case "+" => println(a + b)
        case "-" => println(a - b)
        case "*" => println(a * b)
        case "/" => println(a / b)
      }
    }
  }
}
