var input=require("fs").readFileSync("/dev/stdin","utf8");
var i=0;
var siki,a,op,b,ans;

input=input.split("\n");

while(1){
    siki=input[i].split(" ");
    a=parseInt(siki[0]);
    op=siki[1];
    b=parseInt(siki[2]);
    
    if(op=="?"){
        break;
    }
    
    switch(op){
        case "+":
            ans=a+b;
            break;
        case "-":
            ans=a-b;
            break;
        case "*":
            ans=a*b;
            break;
        case "/":
            ans=Math.floor(a/b);
            break;
    }
    
    console.log(ans);
    i++;
}

