import std.stdio, std.array, std.conv, std.string;

void main() {
  while (true) {
    string[] input = split(readln());
    if (input[1] == "?") break;

    writeln(calc(input));
  }
}

int calc(string[] s) {
  int a = to!int(s[0]), b = to!int(s[2]);
  string op = s[1];

  if (op == "+") return a + b;
  if (op == "-") return a - b;
  if (op == "*") return a * b;
  if (op == "/") return a / b;

  return -1;
}