import std.stdio,std.string,std.conv,std.array;
void main(){
	loop:for(;;){
		auto rcs = readln().chomp().split();
		auto a = to!int(rcs[0]);
		auto b = to!int(rcs[2]);
		final switch(rcs[1]){
		case "+":writeln(a+b);break;
		case "-":writeln(a-b);break;
		case "*":writeln(a*b);break;
		case "/":writeln(a/b);break;
		case "?":break loop;
		}
	}
}