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