'use strict'
const Main = (input) => {
  let tmp = input.split('\n');
  let r = tmp[0].split(' ').map(Number)[0];
  let D = tmp[0].split(' ').map(Number)[1];
  let x =tmp[0].split(' ').map(Number)[2]

  for (let i = 1; i <= 10; i++){
    x = r * x - D;
    console.log(x);
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
