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