fun main(args: Array<String>) {
    val JoinN: Int = readLine()!!.toInt()
    val (Day: Int, Chocolate: Int) = readLine()!!.split(" ").map(String::toInt)
    val EatA: Array<Int> = Array<Int>(JoinN, { readLine()!!.toInt() })
    var AllEat: Int = 0
    for (i in 0 until JoinN) {
        var isOver = false
        var count = 0
        while (!isOver) {
            val targetday = count++ * EatA[i] + 1
            if (targetday > Day) {
                isOver = true
                break
            }
            AllEat++
        }
    }
    println(AllEat + Chocolate)
}
