object Main extends App {
  for (line <- scala.io.Source.stdin.getLines() if line.size > 0 && line.split(" ")(1) != "?") {
    val in = line.split(" ").toList
    println(calc(in(0).toInt, in(2).toInt, in(1)))
  }

  def calc(a: Int, b: Int, op: String): Int = {
    op match {
      case "+" => a + b
      case "-" => a - b
      case "*" => a * b
      case "/" => a / b
    }
  }
}