function main(input) {
  const args = input.split(' ').map(n => parseInt(n, 10));
  const R = args[0],
        D = args[1],
        X = args[2];
  let pre = X; //前年度の苔の量
  
  for (let i = 0; i < 10; i++) {
    pre = (R * pre) - D;
    console.log(pre);
  }
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));