'use strict';

function main(stdin) {
  const input = stdin.split(' ').map(v => parseInt(v, 10));
  const r = input[0];
  const D = input[1];
  let x = input[2];
  
  for (let i = 0; i < 10; ++i) {
    x = x * r - D;
    console.log(x);
  }
}

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