object Main {
  def main(args: Array[String]): Unit = {
    val scanner = new java.util.Scanner(System.in)

    while(true) {
      val a = scanner.nextInt
      val op = scanner.next
      val b = scanner.nextInt

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