object Main {
  def main(args: Array[String]): Unit = {
    val sc = new java.util.Scanner(System.in)
    val r = sc.nextInt
    val D = sc.nextInt
    val x2000 = sc.nextInt
    calc(1, x2000, r, D)
  }

  def calc(count: Int, x: Int, r: Int, D: Int): Int = count match {
    case count if count > 10 => x
    case _ => {
      val result = r * x - D
      println(result)
      calc(count + 1, result, r, D)
    }
  }
}