var input = require('fs').readFileSync('/dev/stdin', 'utf8');
var sp = input.split("\n");
for( var i = 0; sp[i].split(" ")[1] !== "?"; i++ ) {
  var s = sp[i].split(" ");
  console.log( Math.foor( eval(s) ) );
}