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

void main() {
    while (true) {
        string[] tmp = readln.chomp.split;
        int a = tmp[0].to!int, b = tmp[2].to!int;
        string op = tmp[1];
        if (op == "+") {
            writeln(a + b);
        } else if (op == "-") {
            writeln(a - b);
        } else if (op == "*") {
            writeln(a * b);
        } else if (op == "/") {
            writeln(a / b);
        } else {
            break;
        }
    }
}
