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



m = list()



for a in range(0, n):

    m.append(int(eval(input())))



sm = sum(m)



ans = n



while sm <= x:

    sm += min(m)

    ans += 1



if sm > x:

    ans -= 1



print(ans)

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



m = list()



for a in range(0, n):

    m.append(int(eval(input())))



s = sum(m)



print((n + (x - s) // min(m)))

n, x = list(map(int, input().split()))
m = list()
for a in range(0, n):
    m.append(int(eval(input())))
sm = sum(m)
ans = n
while sm <= x:
    sm += min(m)
    ans += 1
if sm > x:
    ans -= 1
print(ans)

n, x = list(map(int, input().split()))
m = list()
for a in range(0, n):
    m.append(int(eval(input())))
s = sum(m)
print((n + (x - s) // min(m)))

-sm = sum(m) -ans = n -while sm <= x: -    sm += min(m) -    ans += 1 -if sm > x: -    ans -= 1 -print(ans) +s = sum(m) +print((n + (x - s) // min(m)))