program ABC_092_B_Chocolate
   implicit none
   integer(8) N, D, X, total, i, j, k
   integer(8), allocatable :: A(:), countA(:), dayAk(:, :) 
   read(*, *) N
   read(*, *) D, X
   allocate (A(1:N))
   allocate (countA(1:N))
   allocate (dayAk(1:N,1:D))
   do i = 1, N
      read(*, *) A(i)
   end do
   countA(:) = 0
   do k = 1, N
      do j = 1, D
	     dayAk(k, j) = (j - 1) * A(k) + 1
         if(dayAk(k, j) <= D) then
	          countA(k) = countA(k) + 1
	     end if
      end do
   end do
   total = 0
   total = sum(countA) + X
   write(*, *)total
end program ABC_092_B_Chocolate