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

M = []

for i in range(N):

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

print(((X-sum(M))//min(M)+N))
N,X = list(map(int,input().split()))

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

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

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

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