import java.util.Scanner

import scala.annotation.tailrec

object Main {
  def main(args: Array[String]) = {
    val sc = new Scanner(System.in)
    val r, D, x = sc.nextInt()

    (1 to 10).scanLeft(x)((pre, _) => r * pre - D).map(println(_))
    ()
  }
}