'use strict';
process.stdin.on('data', function(chunk) {
  var inputs = chunk.toString().trim();
  var expressions = inputs.split('\n');
   for(var i = 0; i < expressions.length;i++) {
   	if (expressions[i] ==='0 ? 0') {
   		break;
   	}
   	var expression = (expressions[i].split(' '));
   	var left = Number(expression[0]);
   	var right = Number(expression[2]);
   	var op = expression[1];
   	if (op === '+') {
   		console.log(left + right);
  }else if (op === '-') {
  	console.log(left - right);
} else if (op === '*') {
	console.log(left * right);
} else if (op === '/') {

       console.log(Math.floor(left/right));

   	}
   }


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