import scala.io.{StdIn => in}

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

  def f(init:Long) = {
    var holder = init
    () => {
      val cur = holder
      holder = holder * r - d
      cur
    }
  }

  val solver = f(r * x - d)
  val ans = (1 to 10).map(i => solver())
  println(ans.mkString("\n"))
}