function main(input) {
  const inArray = input.trim().split(' ').map(x => parseInt(x));
  const r = inArray[0];
  const D = inArray[1];
  const x2000 = inArray[2];
  var x = x2000;
  for (var i=0; i < 10; i++) {
    x = r * x - D;
    console.log(x);
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
