import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)

    while(true) {
        val i1 = sc.nextInt()
        val op = sc.next()
        val i2 = sc.nextInt()

        if (op == "?") break

        when (op) {
            "+" -> println(i1 + i2)
            "-" -> println(i1 - i2)
            "*" -> println(i1 * i2)
            "/" -> println(i1 / i2)
        }
    }
}

