
object Main extends App {
  for (line <- scala.io.Source.stdin.getLines()) {
    val Array(a, b, c) = line.split(" ")
    b match {
      case "+" => println(a.toInt + c.toInt)
      case "-" => println(a.toInt - c.toInt)
      case "*" => println(a.toInt * c.toInt)
      case "/" => println(a.toInt / c.toInt)
      case _ => ()
    }
  }
}