let input = require('fs').readFileSync( '/dev/stdin', 'utf8' );
let arr = input.split("\n");
for (let i = 0; i < arr.length; i ++) {
    let lineArr = arr[i].split(" ");
    let a = lineArr[0] - 0;
    let op = lineArr[1];
    let b = lineArr[2] - 0;
    let res = 0;
    if (op === '?') break;
    if (op === '+') res = a + b;
    else if (op === '-') res = a - b;
    else if (op === '*') res = a * b;
    else if (op === '/') res = Math.floor(a / b);
    console.log(res);
}
