var input = require('fs').readFileSync('/dev/stdin', 'utf8').split('\n');
console.log(input.map(function(x) {
  var Calc = {
        '+':function(a,b){return a + b;}
        ,'-':function(a,b){return a - b;}
        ,'*':function(a,b){return a * b;}
        ,'/':function(a,b){return ~~(a / b);}
    };
  var arr = x.split(' ');
  return Calc[arr[1]](parseInt(arr[0],10),parseInt(arr[2],10));
}).join('\n').trim());