let n = int (stdin.ReadLine())
let d, x = stdin.ReadLine().Split() |> fun x -> int x.[0], int x.[1]
printfn "%d" (([for _ in 1..n -> int (stdin.ReadLine())] |> List.sumBy (fun x -> List.length [1..x..d])) + x) 