process.stdin.resume();
process.stdin.setEncoding('utf8');
// Here your code !
process.stdin.on("data",function(chunk){
   var line = chunk.trim().split("\n");
   var res = line.map(function(e){
       var ele = e.split(" ");
       switch(ele[1]){
           case "+":
               return parseInt(ele[0]) + parseInt(ele[2]);
               
           case "-":
               return parseInt(ele[0]) - parseInt(ele[2]);
           case "*":
               return parseInt(ele[0]) * parseInt(ele[2]);
           case "/":
               return parseInt(parseInt(ele[0])/ parseInt(ele[2]));
           case "?":
               break;

       }
   });
   console.log(res.slice(0,-1).join("\n"));
});