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

l = []

s = 0

for i in range(n):

    l.append(int(eval(input())))

    s += l[i]

    

for j in range(0,100000):

    if (x-s) == 0:

        print(n)

        break

    elif ((x-s)/(min(l)*(j+1))) < 1:

        print((n+j))

        break
n,x = list(map(int,input().split()))

l = []

s = 0

for i in range(n):

    l.append(int(eval(input())))

    s += l[i]

print((int(n+(x-s)/min(l))))
n, x = list(map(int, input().split()))
l = []
s = 0
for i in range(n):
    l.append(int(eval(input())))
    s += l[i]
for j in range(0, 100000):
    if (x - s) == 0:
        print(n)
        break
    elif ((x - s) / (min(l) * (j + 1))) < 1:
        print((n + j))
        break

n, x = list(map(int, input().split()))
l = []
s = 0
for i in range(n):
    l.append(int(eval(input())))
    s += l[i]
print((int(n + (x - s) / min(l))))

-for j in range(0, 100000): -    if (x - s) == 0: -        print(n) -        break -    elif ((x - s) / (min(l) * (j + 1))) < 1: -        print((n + j)) -        break +print((int(n + (x - s) / min(l))))