var input = ""
process.stdin.resume();
process.stdin.setEncoding('utf-8');
process.stdin.on('data', function(chunk) {
  input += chunk;
});
 
process.stdin.on('end', function() {
  input = input.split("\n");
  i = 0
  
  while (true) {
    arr = input[i].split(" ");
    if (arr[1] == "?") { break; }

    arr[0] = Number(arr[0]);
    arr[2] = Number(arr[2]);
 
    switch (arr[1]) {
      case "+":
        console.log(arr[0] + arr[2]);
        break;
      case "-":
        console.log(arr[0] - arr[2]);
        break;
      case "*":
        console.log(arr[0] * arr[2]);
        break;
      case "/":
        console.log(Math.floor(arr[0] / arr[2]));
        break;
    }
 
    i++;
  }
});