let content = '';
process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', buf => {
  content += buf;
});
process.stdin.on('end', () => {
  let exprs = content
    .trim()
    .split('\n')
    .map(line => parseExpr(line));
  for (const expr of exprs) {
    const [a, op, b] = expr;
    switch (op) {
      case '+':
        console.log(a + b);
        break;
      case '-':
        console.log(a - b);
        break;
      case '*':
        console.log(a * b);
        break;
      case '/':
        console.log(Math.floor(a / b));
        break;
    }
  }
});

const parseExpr = expr => {
  const [a, op, b] = expr.split(' ');
  return [parseInt(a, 10), op, parseInt(b, op)];
};
