import std.algorithm, std.array, std.container, std.range, std.bitmanip;
import std.numeric, std.math, std.bigint, std.random, core.bitop;
import std.string, std.conv, std.stdio, std.typecons;

void main()
{
  while (true) {
    auto rd = readln.split;
    auto a = rd[0].to!int, op = rd[1], b = rd[2].to!int;

    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: assert(0);
    }
  }
}