import scala.io.StdIn.readLine

object Main extends App {

  for (_ <- 0 to 20000) {
    val line = readLine().split(" ")
    val (a, b) = (line(0).toInt, line(2).toInt)
    val op = line(1)
    var ans = 0

    op match {
      case "+" => ans = a + b
      case "-" => ans = a - b
      case "*" => ans = a * b
      case "/" => ans = a / b
      case "?" => sys.exit()
    }

    println(ans)
  }

}

