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