import scala.io.StdIn

object Main extends App {
  val n = StdIn.readLine.toInt
  val Array(d, x) = StdIn.readLine.split(" ").map(_.toInt)
  val eated = Iterator.continually(StdIn.readLine.toInt)
    .take(n)
    .map(a => (1 to d by a).size)
    .toList
    .sum
  println(eated + x)
}