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

const reader = require("readline").createInterface({
  input: process.stdin,
  output: process.stdout,
});

let end = false;
reader.on("line", (line) => {
  if (end) return;
  const [as, op, bs] = line.split(" ");
  if (op === "?") {
      end = true;
      return;
  }
  const a = Number(as);
  const b = Number(bs);

  let n;
  switch (op) {
    case "+":
      n = a + b;
      break;
    case "-":
      n = a - b;
      break;
    case "*":
      n = a * b;
      break;
    case "/":
      n = Math.floor(a / b);
      break;
  }

  console.log(n);
});

