var x = require('fs').readFileSync('/dev/stdin', 'utf8');

var array = x.split("\n");

var result = "";

for (i = 0; i <array.length; i++)
{
    var subarr = array[i].split(" ");
    var a = subarr[0]-0;
    var op = subarr[1];
    var b = subarr[2]-0;

    switch(op) 
    {
        case "+":
            result += a + b;
            break;
        case "-":
            result += a - b;
            break;
        case "*":
            result += a * b;
            break;
        case "/":
            if(b != 0) {
            result += Math.floor(a / b);
            }
            break;
        default:
            break;
    }

    result += "\n"; 

}

console.log(result.trim());


