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

m = list(int(eval(input())) for i in range(n))

m.sort()



z = sum(m)

s = n



while x > z:

    z += m[0]

    if x >= z:

        s += 1



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

m = list(int(eval(input())) for i in range(n))

m.sort()

z = sum(m)

print((n+(x-z)//m[0]))
n, x = list(map(int, input().split()))
m = list(int(eval(input())) for i in range(n))
m.sort()
z = sum(m)
s = n
while x > z:
    z += m[0]
    if x >= z:
        s += 1
print(s)

n, x = list(map(int, input().split()))
m = list(int(eval(input())) for i in range(n))
m.sort()
z = sum(m)
print((n + (x - z) // m[0]))

-s = n -while x > z: -    z += m[0] -    if x >= z: -        s += 1 -print(s) +print((n + (x - z) // m[0]))