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

y = 1000

for i in range(n):

    z = int(eval(input()))

    x -= z

    y = min(y,z)

print((n+x//y))

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

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

print((len(M)+(x-sum(M))//M[0]))

n, x = list(map(int, input().split()))
y = 1000
for i in range(n):
    z = int(eval(input()))
    x -= z
    y = min(y, z)
print((n + x // y))

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

-y = 1000 -for i in range(n): -    z = int(eval(input())) -    x -= z -    y = min(y, z) -print((n + x // y)) +M = sorted([int(eval(input())) for i in range(n)]) +print((len(M) + (x - sum(M)) // M[0]))