import io.Source.stdin

object Main {
  
  def main(args: Array[String]) {
    for (list <- stdin.getLines().takeWhile(!_.contains("?")).map(_.split(" "))) {
      val (a, op, b) = (list(0).toInt, list(1), list(2).toInt)
      val result = op match {
        case "+" => a + b
        case "-" => a - b
        case "*" => a * b
        case "/" => a / b
      }
      println(result)
    }
  }
}
