// inputに入力データ全体が入る
function Main(input) {
  input = input.split(" ");
  var r = input[0];
  var D = input[1];
  var x = input[2];
  
  for (var i = 2000; i <= 2009; i++){
    x = r * x - D;
    console.log(x);
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));