import java.util.Scanner

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

        for (i in 1..10) {
                x = r * x - D
                println(x)
        }
}