'use strict'
function Main(input) {
    input = input.split("\n")[0].split(' ').map(str => parseInt(str))

    const r = input[0]; const D = input[1]; const x_2000 = input[2]

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