import std.stdio;
import std.conv;
import std.string;
import std.typecons;
import std.algorithm;
import std.array;
import std.range;
import std.math;
import std.container;
import std.random;
     
void main() {
  while (1) {
  	auto x = readln.chomp.split;
  	if (x[1] == "?") break;
  	if (x[1] == "+") writeln(x[0].to!int+x[2].to!int);
  	if (x[1] == "-") writeln(x[0].to!int-x[2].to!int);
  	if (x[1] == "*") writeln(x[0].to!int*x[2].to!int);
  	if (x[1] == "/") writeln(x[0].to!int/x[2].to!int);
  }
}