[<AutoOpen>]
module Program

open System

let read f = stdin.ReadLine() |> f
let reads f = stdin.ReadLine().Split() |> Array.toList |> List.map f

[<EntryPoint>]
let main _ =
    let [r;d;x] = reads int
    Seq.unfold (fun s -> let n = r * s  - d in Some (n, n)) x
    |> Seq.take 10
    |> Seq.iter (printfn "%i")
    0