object Main {
  def main (args: Array[String]) {
    for(line <- scala.io.Source.stdin.getLines()){
      val Array(v1,opr,v2) = line.split(" ");
      if (opr == "?")  return
      val val1:Int = v1.toInt
      val val2:Int = v2.toInt
 
      opr match{
        case "+"  =>  println(val1 + val2)
        case "-"  =>  println(val1 - val2)
        case "*"  =>  println(val1 * val2)
        case "/"  =>  println(val1 / val2)
        case _ => println("????");
      }
    }
  }
}