import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    while (true) {
        val a =scanner.nextInt()
        val op =scanner.next()
        val b =scanner.nextInt()
        if (op == "?") break
        val answer = when(op) {
            "+" -> a + b
            "-" -> a - b
            "*" -> a * b
            "/" -> a / b
            else -> 0
        }
        println(answer)
    }
}

