
fun main(arr:Array<String>) {
    val (r, d, x2000) = readLine()!!.split(" ").map { it.toLong() }
    val ans = mutableListOf<Long>()
    var prev = x2000
    for(i in (2001..2010)) {
        val tmp = r*prev-d
        println(tmp)
        prev = tmp
    }

}