object Main {

  def main(args: Array[String]): Unit = {
    import scala.io.StdIn._
    
    val Array(r, d, x2000) = readLine().split(" ").map(_.toInt)

    val x = new Array[Int](11)
    x(0) = x2000
    (1 to 10) foreach { i =>
      x(i) = r * x(i-1) - d
    }
    x.tail.foreach(println)
  }

}