function Main(input){
  const arr = input.split('\n');
  let data, a, op, b;
  for (let i = 0; i < arr.length; i++){
    data = arr[i].split(' ');
    a = Number(data[0]);
    op = data[1];
    b = Number(data[2]);
    switch (op){
      case '+':
       console.log(a + b);
       break;
      case '-':
       console.log(a - b);
       break;
      case '*':
       console.log(a * b);
       break;
      case '/':
       console.log(Math.floor(a / b));
       break;
      case '?':
       return;
      }
    }
    console.log(data, a, op, b);
  }
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
