N,X = list(map(int,input().split()))

a = [int(eval(input())) for i in range(N)]

moto = X - sum(a)

ans = N

while moto >= min(a):

	ans += 1

	moto = moto - min(a)

print(ans)
N,X = list(map(int,input().split()))

a = [int(eval(input())) for i in range(N)]

ans = N + (X - sum(a)) // min(a)

print(ans)
N, X = list(map(int, input().split()))
a = [int(eval(input())) for i in range(N)]
moto = X - sum(a)
ans = N
while moto >= min(a):
    ans += 1
    moto = moto - min(a)
print(ans)

N, X = list(map(int, input().split()))
a = [int(eval(input())) for i in range(N)]
ans = N + (X - sum(a)) // min(a)
print(ans)

-moto = X - sum(a) -ans = N -while moto >= min(a): -    ans += 1 -    moto = moto - min(a) +ans = N + (X - sum(a)) // min(a)