let [| r; d; x |] = stdin.ReadLine().Split(' ') |> Array.map int

let rec getWeights cnt xs =
    match cnt with
    | 0 -> List.rev xs
    | _ -> getWeights (cnt - 1) (r * xs.[0] - d :: xs)

getWeights 10 [ x ] |> List.iter (printfn "%d")
