object Main extends App {
	override def main(args: Array[String]) = {
		val sc = new java.util.Scanner(System.in)
		
		Iterator.continually(new Statement(left = sc.nextInt, op = sc.next, right = sc.nextInt))
		.takeWhile(_.isContinue).foreach{ s =>
			println(s.getValue)
		}
	}
	
	class Statement(val left:Int , val right:Int , val op:String){
		
		val isContinue = op != "?"
		
		lazy val getValue:Int = op match {
			case "+" => left + right
			case "-" => left - right
			case "/" => left / right
			case "*" => left * right
		}
	}
}