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

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

X -= sum(M)

M.sort()

ans = -1

while X >= 0:

  X -= M[0]

  ans += 1

print((ans+N))

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

m = []

cnt = 0

for j in range(N):

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

a = X - sum(m)

cnt = a // min(m) + N

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

N, X = list(map(int, input().split()))
m = []
cnt = 0
for j in range(N):
    m.append(int(eval(input())))
a = X - sum(m)
cnt = a // min(m) + N
print(cnt)

-M = [int(eval(input())) for i in range(N)] -X -= sum(M) -M.sort() -ans = -1 -while X >= 0: -    X -= M[0] -    ans += 1 -print((ans + N)) +m = [] +cnt = 0 +for j in range(N): +    m.append(int(eval(input()))) +a = X - sum(m) +cnt = a // min(m) + N +print(cnt)