import java.util.*

fun main(args:Array<String>) {
    val sc = Scanner(System.`in`)
    var a: Int; var b: Int; var op: String

    while (true) {
        a = sc.nextInt()
        op = sc.next()
        b = sc.nextInt()

        if (op == "?") break

        when (op) {
            "+" -> {
                println(a+b)
            }
            "-" -> {
                println(a-b)
            }
            "*" -> {
                println(a*b)
            }
            "/" -> {
                println(a/b)
            }
        }
    }
}
