import std.stdio;
import std.conv;
import std.string;

void main()
{
  auto n =(readln.strip.split);
  while( n[1] != "?" ) {
      int a = to!int(n[0]),c = to!int(n[2]);
      switch(n[1]) {
          case "+":
              writeln(a+c);
              break;
          case "-":
              writeln(a-c);
              break;
          case "*":
              writeln(a*c);
              break;
          case "/":
              writeln(a/c);
              break;
          default:
              break;
      }
      n = (readln.strip.split);
  }
}