/**
  * Created by ui on 2016/03/08.
  */
object Cal {
  val sc = new java.util.Scanner(System.in)

  def input = {
    val a = sc.nextInt()
    val op = sc.next.head
    val b = sc.nextInt()
    (a, op, b)
  }

  def calculate(a:Int, op:Char, b:Int) =
    op match {
      case '+' => a + b
      case '-' => a - b
      case '*' => a * b
      case '/' => a / b
      case _ => 0
    }


  def run: Unit = {
    var t = input
    var a = t._1
    var op = t._2
    var b = t._3
    while (op != '?') {
      println(calculate(a, op, b))
      t = input
       a = t._1
       op = t._2
       b = t._3
    }
  }
}
object Main {
  def main(args: Array[String]) {
    Cal.run
  }

}