import std.functional,
       std.algorithm,
       std.container,
       std.typetuple,
       std.typecons,
       std.bigint,
       std.string,
       std.traits,
       std.array,
       std.range,
       std.stdio,
       std.conv,
       std.format,
       std.math;

void main()
{
	while(true){
		auto ip = readln.split;
		auto a = ip[0].to!int, b = ip[2].to!int;
		if(ip[1] == "?") break;
		ip[1].predSwitch(
			  "+", a + b,
			  "-", a - b,
			  "*", a * b,
			  "/", a / b).writeln;
	}
}
