function main(input) {
  var data = input.split(" ");

  var r = data[0];
  var D = data[1];
  var x = data[2];

  for(i = 1; i< 11; i++){
    xp1 = r*x - D
    console.log(xp1);
    x = xp1;
  }
}

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