import java.util.*

fun main(args: Array<String>){
    val sc = Scanner(System.`in`)
    val r = sc.nextInt()
    val D = sc.nextInt()
    val x2000 = sc.nextInt()
    val list = mutableListOf<Int>(x2000)

    for(x in 0..9){
        list.add(r*list[x] - D)
        println(list[x+1])
    }
}