object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val r = sc.nextInt
    val D = sc.nextInt
    var x = sc.nextInt

    for (i <- 1 to 10) {
      x = r*x - D
      println(x)
    }
  }
}
