import scala.io.{StdIn => in}

object Main extends App {
  val out = new java.io.PrintWriter(System.out)
  val Array(r, d, x2000) = in.readLine.split(" ").map(_.toInt)

  (1 to 10).scanLeft(x2000) {(acc, _) =>
    r * acc -d
  }.tail.foreach(out.println)

  out.flush
}