import java.util.*

fun main(args: Array<String>){
    val sc = Scanner(System.`in`)
    var loop = true
    while (loop) {
        val a = sc.nextInt()
        val op = sc.next()
        val b = sc.nextInt()
        when (op) {
            "+" -> {
                println(a+b)
            }
            "-" -> {
                println(a-b)
            }
            "*" -> {
                println(a*b)
            }
            "/" -> {
                println(a/b)
            }
            else ->{
                loop = false
            }
        }
    }

}
