function main(lines) {
    const input = lines.split('\n')
    for(let i=0; i<input.length; i++){
        let tmpInput = input[i].split(' ')
        let a = parseInt(tmpInput[0],10)
        let b = parseInt(tmpInput[2],10)
        let op = tmpInput[1]
        
    switch(op){
        case '+':
            console.log(a+b);
            break;
        case '-':
            console.log(a-b);
            break;
        case '*':
            console.log(a*b);
            break;
        case '/':
            console.log(parseInt(a/b,10));
            break;
        case '?':
            break
    }
    }
    

}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
// 3657.383181 214.382911
