# -*-*-*- coding: utf-8 -*-*-*-

member = int(eval(input()))

days, choco = list(map(int, input().split()))

ans = choco



for i in range(member):

    num = int(eval(input()))

    if days % num == 0:

        ans -= 1

    ans += days // num + 1

#    print(i, 'day : eat = {} // {} = {:2}, ans = {:2}'.format(days, num, (days // num + 1), ans))



print(ans)

# -*-*-*- coding: utf-8 -*-*-*-

member = int(eval(input()))

days, choco = list(map(int, input().split()))

ans = choco

 

for i in range(member):

    num = int(eval(input()))

    ans += (days - 1) // num + 1

#    print(i, 'day : eat = {} // {} = {:2}, ans = {:2}'.format(days, num, (days // num + 1), ans))

 

print(ans)
# -*-*-*- coding: utf-8 -*-*-*-
member = int(eval(input()))
days, choco = list(map(int, input().split()))
ans = choco
for i in range(member):
    num = int(eval(input()))
    if days % num == 0:
        ans -= 1
    ans += days // num + 1
#    print(i, 'day : eat = {} // {} = {:2}, ans = {:2}'.format(days, num, (days // num + 1), ans))
print(ans)

# -*-*-*- coding: utf-8 -*-*-*-
member = int(eval(input()))
days, choco = list(map(int, input().split()))
ans = choco
for i in range(member):
    num = int(eval(input()))
    ans += (days - 1) // num + 1
#    print(i, 'day : eat = {} // {} = {:2}, ans = {:2}'.format(days, num, (days // num + 1), ans))
print(ans)

-    if days % num == 0: -        ans -= 1 -    ans += days // num + 1 +    ans += (days - 1) // num + 1