function main(input){
    let lines = input.split("\n")
    let i=0;
    let line = lines[i].split(" ");
    while(line[1]!=="?"){
            line = lines[i].split(" ");
        let num1 = parseInt(line[0]);
        let num2 = parseInt(line[2]);
        let op = line[1];
        if(op==="+"){
            console.log(num1+num2);
        }else if(op==="-"){
            console.log(num1-num2);
        }else if(op==="*"){
            console.log(num1*num2);
        }else if(op==="/"){
            console.log(Math.floor(num1/num2));
        }
        
        i++;
    }
    
}


main(require("fs").readFileSync("/dev/stdin","utf-8"));
