process.stdin.on('data', function(chunk) {
  var inputs = chunk.toString().trim();
  var expressionsb = inputs.split('\n');

  for (var i = 0; i < expressions.length; i++) {
  	if (expressions[i] ==='0 ? 0'){
  		break;
  	}
  	var expressions=expressions[i].split(' ');
  	var left =Number(expression[0]);
  	var right =Number(expression[2]);
  	var op =expression[1];

  	switch(op){
  		case'+':
  		break;
  		console.log(left+right);
  		case'-':
  		break;
  		console.log(left-right);
  		case'*':
  		break;
  		console.log(left*right);
  		case'/':
  		break;
  		console.log(left/right);
  	}

  	if (op ==='+') {

  	} else if (op==='-'){

  	}else if (op==='*'){

  	}else if (op==='/'){
  		console.log(Math.floor(left/right));

  	}

  };


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