function Main(input) {
    input = input.trim().split(" ");
    var r = parseInt(input[0],10);
    var D = parseInt(input[1],10);
    var x = parseInt(input[2],10);
    var output = [];

    output[0] = r*x - D;
    for(var i = 1; i < 10; i++){
        output[i] = r*output[i-1] - D;
    }

    for(var i = 0; i < 10; i++){
        console.log(output[i]);
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));