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



mn = [0]*N

for i in range(N):

  mn[i] = int(eval(input()))

  

ans = N

x = X - sum(mn)



while(x >= min(mn)):

  if x // min(mn) == 0:

    mn[mn.index(min(mn))] = 1000000

  else:

    x -= min(mn)

    ans += 1

      

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



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



print(((X - sum(mn))//min(mn) + len(mn)))
N, X = list(map(int, input().split()))
mn = [0] * N
for i in range(N):
    mn[i] = int(eval(input()))
ans = N
x = X - sum(mn)
while x >= min(mn):
    if x // min(mn) == 0:
        mn[mn.index(min(mn))] = 1000000
    else:
        x -= min(mn)
        ans += 1
print(ans)

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

-mn = [0] * N -for i in range(N): -    mn[i] = int(eval(input())) -ans = N -x = X - sum(mn) -while x >= min(mn): -    if x // min(mn) == 0: -        mn[mn.index(min(mn))] = 1000000 -    else: -        x -= min(mn) -        ans += 1 -print(ans) +mn = [int(eval(input())) for i in range(N)] +print(((X - sum(mn)) // min(mn) + len(mn)))