process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {
    const n = chunk.toString();
    const r = n.split("\n");

    r.forEach(x => sp(x));

});

function sp(str) {

    const r = str.split(" ");

    const num1 = Number(r[0]);
    const num2 = Number(r[2]);
    if (r[1]==="+"){
        const k = num1+num2;
        console.log(k);
    }else if (r[1]==="-"){
        const k = num1-num2;
        console.log(k);
    }else if (r[1]==="/"){
        const k = num1/num2;
        console.log(Math.floor(k));
    }else if (r[1]==="*"){
        const k = num1*num2;
        console.log(k);
    }else{
        return false;
    }

}
