const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const lines = input.trim().split('\n');
    lines.forEach(function(val){
        const dataStrings = val.split(' ');
        const a = Number(dataStrings[0]);
        const op = dataStrings[1];
        const b = Number(dataStrings[2]);
        let result;
        switch (op) {
            case '+':
                console.log(a + b);
                break;
            case '-':
                console.log(a - b);
                break;
            case '*':
                console.log(a * b);
                break;
            case '/':
                console.log(Math.floor(a / b));
                break;
            default:
            }
    });
