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)

  var pre = x2000
  for(i <- 1 to 10) {
    val v = r * pre - d
    out.println(v)
    pre = v
  }

  out.flush
}