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