"use strict";
function main(input) {
    const args = input.split("");

    const r = parseInt(args[0]);
    const D = parseInt(args[1]);
    let x = parseInt(args[2]);

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