import scala.io.StdIn

case class Expr(l:Int, op: String, r:Int)

object Main {
  def main(args: Array[String]): Unit = {
    Iterator.continually(StdIn.readLine()).takeWhile(_ != null).foreach{
      line =>
        val inputs = line.split(" ")
        val expr = Expr(inputs(0).toInt, inputs(1), inputs(2).toInt)
        expr match {
          case Expr(l, "+", r) => println(l + r)
          case Expr(l, "-", r) => println(l - r)
          case Expr(l, "*", r) => println(l * r)
          case Expr(l, "/", r) => println(l / r)
          case _ =>
        }
    }
  }
}