object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val r,d,x = sc.nextInt()
    var ans = x
    for(i <- 1 to 10){
      ans = r * ans - d
      println(ans)
    }
  }
}