let input = require('fs').readFileSync('/dev/stdin', 'UTF-8');
const inputArray = input.split('\n');
for (let i = 0; i < inputArray.length; i++) {
  const lineArray = inputArray[i].split(' ');
  const a = Number(lineArray[0]);
  const b = Number(lineArray[2]);
  const op = lineArray[1];
  if (op === '?') {
    break;
  } else if (op === '+') {
    console.log(a+b);
  } else if (op === '-') {
    console.log(a-b);
  } else if (op === '*') {
    console.log(a*b);
  } else if (op === '/') {
    console.log(Math.floor(a/b));
  };
}
