"use strict";

function Main(input) {
    input=input.split("\n");
    for(var i=0;i<input.length;i++){
        if(input[i][2] == '?')
            break;
        console.log(Math.floor(eval(input[i])));
    }
}
    
function debug(){
	var input = document.getElementById("input").value;
	Main(input);
}

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