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

void main() {
  while (true) {
    auto input = readln.chomp.split;
    int a = input[0].to!int;
    int b = input[2].to!int;
    char op = input[1].to!char;
    if (op == '?') { break; }

    switch (op) {
    case '+':
      writeln(a + b);
      break;
    case '-':
      writeln(a - b);
      break;
    case '*':
      writeln(a * b);
      break;
    case '/':
      writeln(a / b);
      break;
    default:
      break;
    }
  }
}