function Main(input){
var r = input.split(" ")[0];
var D = input.split(" ")[1];
var x2000 = input.split(" ")[2];
r = parseInt(r,10);
D = parseInt(D,10);
x2000 = parseInt(x2000,10);
for(i=1;i<=10;i++){
  if(i==1){
  var a=0;
  a = (r*x2000)-D;
  console.log(a);
  }else{
    a = (r*a)-D;
    console.log(a);
  }
}
}
  Main(require('fs').readFileSync('/dev/stdin','utf8'));

