const input = require('fs').readFileSync('/dev/stdin', 'utf8').split(/\n/);
for (let i = 0; i < input.length; i++) {
    let [a, x, b] = input[i].split(/\s/);
    switch (x) {
        case '+':
            console.log(Number(a) + Number(b));
            break;
        case '-':
            console.log(Number(a) - Number(b));
            break;
        case '*':
            console.log(Number(a) * Number(b));
            break;
        case '/':
            console.log(Math.floor(Number(a) / Number(b)));
            break;
        case '?':
            break;
    }
}
