n = int(eval(input()))

d, x = list(map(int, input().split()))

a = [int(eval(input())) for i in range(n)]

ans = n+x

for num in a:

    ans += (d-1)//num

print(ans)      
N = int(eval(input()))

D, X  = list(map(int, input().split()))

cacao = 0

for i in range(N):

    A = int(eval(input()))

    cacao += ((D-1)//A)+1

print((cacao+X))
n = int(eval(input()))
d, x = list(map(int, input().split()))
a = [int(eval(input())) for i in range(n)]
ans = n + x
for num in a:
    ans += (d - 1) // num
print(ans)

N = int(eval(input()))
D, X = list(map(int, input().split()))
cacao = 0
for i in range(N):
    A = int(eval(input()))
    cacao += ((D - 1) // A) + 1
print((cacao + X))

-n = int(eval(input())) -d, x = list(map(int, input().split())) -a = [int(eval(input())) for i in range(n)] -ans = n + x -for num in a: -    ans += (d - 1) // num -print(ans) +N = int(eval(input())) +D, X = list(map(int, input().split())) +cacao = 0 +for i in range(N): +    A = int(eval(input())) +    cacao += ((D - 1) // A) + 1 +print((cacao + X))