process.stdin.resume();
process.stdin.setEncoding('utf8');

var lines = []
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});

reader.on('line', (line) => {
  lines.push(line);
});

reader.on('close', () => {
var i=0;
while(true){
  // console.log(i);
var aopb = lines[i].split(' ');
  // console.log(aopb);
var a = Number(aopb[0]);
var op = aopb[1];
var b = Number(aopb[2]);
if(op == "?"){
  break;
}
switch(op){
  case("+"):
    console.log(a + b);
    i++;
    break;
  case("-"):
    console.log(a - b);
    i++;
    break;
  case("*"):
    console.log(a * b);
    i++;
    
    
    break;
  case("/"):
    console.log(Math.floor(a / b));
    i++;
    
  }
}
});
