import scala.io.{StdIn => in}

object Main extends App {
  val Array(r, d, x) = in.readLine.split(" ").map(_.toLong)

  val ans = (1 to 10).scanLeft(x) { (pre, _) =>
    r * pre - d
  }.tail
  println(ans.mkString("\n"))
}