open System

[<EntryPoint>]
let main argv =
    let inputs = stdin.ReadLine().Split(' ') |> Array.map int

    let r = inputs.[0]
    let d = inputs.[1]
    let x_init = inputs.[2]

    let calc x r d = r * x - d

    let rec makeResult x n = 
        if n <= 0 then
            []
        else
            let next = r * x - d
            [next] @ makeResult next (n-1)

    for i in (makeResult x_init 10) do
        printfn "%d" i

    0 // return an integer exit code