import scala.io.StdIn
 
case class Expr(l:Int, op: String, r:Int)
 
object Main extends App {
    Iterator.continually(StdIn.readLine()).takeWhile(_ != null).foreach{
      line =>
          val Array(left, op, right) = line.split(" ")
            Expr(left.toInt, op, right.toInt) 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 _ =>
            }
    }
}