import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val r = sc.nextInt()
    val d = sc.nextInt()
    val x = sc.nextInt()

    abc127b(r, d, x)
}

fun abc127b(r: Int, d: Int, x: Int){
    var xi = x
    for (i in 1..10) {
        xi = calc(r, xi, d)
        println(xi)
    }
}

private fun calc(r: Int, xi: Int, d: Int): Int {
    return r * xi - d
}