"use strict"
function main(arg) {
    var t = arg.trim().split("\n")[0].split(" ").map(Number)
    var r = t[0]
    var D = t[1]
    var startX = t[2]

    var prev = startX
    for (var i = 0; i < 10; i ++) {
        var tmp = r * prev - D
        console.log(tmp)
        prev = tmp
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));