import std.stdio;
import std.array;
import std.conv;


void main()
{
    while (1) {
        auto input = split(readln());

        switch (input[1]) {
            case "+":
                writeln(to!(int)(input[0]) + to!(int)(input[2]));
                break;
            case "-":
                writeln(to!(int)(input[0]) - to!(int)(input[2]));
                break;
            case "*":
                writeln(to!(int)(input[0]) * to!(int)(input[2]));
                break;
            case "/":
                writeln(to!(int)(input[0]) / to!(int)(input[2]));
                break;
            case "?":
                return;
            default:
                writeln("ERROR");
                break;
        }
    }
}