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

void main() {
    auto input = getStdin!(string[]);
    foreach (line; input) {
    	auto c = line.split(" ");
    	int a = c[0].to!(int);
    	int b = c[2].to!(int);
    	string op = c[1];
    	if (op == "?") break;
    	switch (op) {
    		case "+":
    			writefln("%d", a + b); break;
    		case "-":
    			writefln("%d", a - b); break;
    		case "*":
    			writefln("%d", a * b); break;
    		case "/":
    			writefln("%d", a / b); break;
    		default:
    			break;
    	}
    }
}

T getStdin(T)() {
    string[] cmd;
    string line;
    while ((line = chomp(stdin.readln())) != "") cmd ~= line;
    return to!(T)(cmd);
}