var lines = [];
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});
reader.on('line', function (line) {
  var a = line.split(' ');
  var b = parseInt(a[0],10);
  var c = parseInt(a[2],10);
  if(a[1]=='+')
  	b = b + c;
  else if(a[1]=='+')
  	b = b + c;
  else if(a[1]=='-')
  	b = b - c;
  else if(a[1]=='*')
  	b = b * c;
  else if(a[1]=='/')
  	b = b / c;
   if(a[1]=='?')
  	process.exit();
  console.log(b);
});
process.stdin.on('end', function () {
});