import java.util.Scanner

object Main {
  val sc = new Scanner(System.in)
  def main(args: Array[String]): Unit = {
    val r = sc.nextInt
    val d = sc.nextInt
    val x2000 = sc.nextInt


    val resl = (1 to 10).foldLeft((Seq.empty[Int], x2000) ){case ((seq, pre), k) =>
      val now = r * pre - d
      (seq :+ now, now)
    }._1
    resl.foreach(println)
  }
}
