function main(input) {
  var temp = input.split('\n');
  for (var i=0; i<temp.length; i++) {
    var data = temp[i].split(' ');
    var a = parseInt(data[0]);
    var op = data[1];
    var b = parseInt(data[2]);
    if (op == "+")
      console.log(a+b);
    else if (op == '-')
      console.log(a-b);
    else if (op == '*')
      console.log(a*b);
    else if (op == '/')
      console.log(Math.floor(a/b));
    else 
      break;
  }
}

var x = require('fs').readFileSync('/dev/stdin', 'utf-8');
main(x);
