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

M = []

for i in range(N) :

    m = int(eval(input()))

    M.append(m)

ans = N

X -= sum(M)

while X >= min(M) :

    ans += 1

    X -= min(M)

print(ans)



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

M = []

for i in range(N) :

    M.append(int(eval(input())))



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

print(ans)

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

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

-    m = int(eval(input())) -    M.append(m) -ans = N -X -= sum(M) -while X >= min(M): -    ans += 1 -    X -= min(M) +    M.append(int(eval(input()))) +ans = ((X - sum(M)) // min(M)) + N