function Main(input) {
    input = input.split("\n");
    for (i=0; i < input.length-1; i++) {
        tmp = input[i].split(" ")
        var a = parseInt(tmp[0])
        var op = tmp[1]
        var b = parseInt(tmp[2])
        if (op === "?") {
            break;
        } else if (op === "+") {
            console.log(a + b)
        } else if (op === "-") {
            console.log(a - b)
        } else if (op === "*") {
            console.log(a * b)
        } else if (op === "/") {
            console.log(Math.floor(a / b))
        }
    }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
