import scala.io.Source

object Main extends App{
  Source.stdin.getLines.toList.init
    .map(_.split(" "))
    .map(x => (x(0).toInt,x(1),x(2).toInt))
    .map(x => (if(x._2 == "+") x._1+x._3 else if(x._2 == "-") x._1-x._3 else if(x._2 == "*") x._1*x._3 else if(x._2 == "/") x._1/x._3))
    .map(println)
}