def main():

    n = int(eval(input()))

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

    a_ = []

    for _ in range(n):

        a_.append(int(eval(input())))



    l = []

    for i in range(1, 101):

        for a in a_:

            r = (i - 1) * a + 1

            if r <= d:

                l.append(r)



    print((len(l) + x))





if __name__ == '__main__':

    main()

def main():

    n = int(eval(input()))

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

    a_ = []

    for _ in range(n):

        a_.append(int(eval(input())))



    cnt = 0

    for a in a_:

        i = 1  # スタート

        while i <= d:

            i += a

            cnt += 1

    print((cnt + x))





if __name__ == '__main__':

    main()

def main():
    n = int(eval(input()))
    d, x = list(map(int, input().split()))
    a_ = []
    for _ in range(n):
        a_.append(int(eval(input())))
    l = []
    for i in range(1, 101):
        for a in a_:
            r = (i - 1) * a + 1
            if r <= d:
                l.append(r)
    print((len(l) + x))


if __name__ == "__main__":
    main()

def main():
    n = int(eval(input()))
    d, x = list(map(int, input().split()))
    a_ = []
    for _ in range(n):
        a_.append(int(eval(input())))
    cnt = 0
    for a in a_:
        i = 1  # スタート
        while i <= d:
            i += a
            cnt += 1
    print((cnt + x))


if __name__ == "__main__":
    main()

-    l = [] -    for i in range(1, 101): -        for a in a_: -            r = (i - 1) * a + 1 -            if r <= d: -                l.append(r) -    print((len(l) + x)) +    cnt = 0 +    for a in a_: +        i = 1  # スタート +        while i <= d: +            i += a +            cnt += 1 +    print((cnt + x))