import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val r = scanner.nextInt()
    val d = scanner.nextInt()
    val x2t = scanner.nextInt()
    var xi = x2t
    (1..10).forEach {
        xi = r * xi - d
        println(xi)
    }
}
