function Main(input) {
  const args = input.trim().split("\n");
  let n = args.length;

  for (let i = 0; i < n; i++) {
    let tmp = args[i].split(" ");
    let a = Number(tmp[0]);
    let op = tmp[1];
    let b = Number(tmp[2]);

    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(parseInt((a / b).toFixed(10), 10));
    } else {
      break;
    }
  }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
