"use strict";
    
const main = arg => {
    arg = arg.split("\n");
    const r = parseInt(arg[0].split(" ")[0]);
    const D = parseInt(arg[0].split(" ")[1]);
    let X = parseInt(arg[0].split(" ")[2]);
    
    for(let i=0; i<10; i++) {
        let temp = (r * X) - D;
        console.log(temp);
        
        X = temp;
    }
    
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));