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

min_cost=float('inf')

cnt=0

for i in range(n):

    mi = int(eval(input()))

    x -= mi

    cnt += 1

    min_cost = min(min_cost,mi)

while x >= min_cost:

    x -= min_cost

    cnt += 1

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

l = [int(eval(input())) for _ in range(n)]

print((len(l)+(x-sum(l))//min(l)))
n, x = list(map(int, input().split()))
min_cost = float("inf")
cnt = 0
for i in range(n):
    mi = int(eval(input()))
    x -= mi
    cnt += 1
    min_cost = min(min_cost, mi)
while x >= min_cost:
    x -= min_cost
    cnt += 1
print(cnt)

n, x = list(map(int, input().split()))
l = [int(eval(input())) for _ in range(n)]
print((len(l) + (x - sum(l)) // min(l)))

-min_cost = float("inf") -cnt = 0 -for i in range(n): -    mi = int(eval(input())) -    x -= mi -    cnt += 1 -    min_cost = min(min_cost, mi) -while x >= min_cost: -    x -= min_cost -    cnt += 1 -print(cnt) +l = [int(eval(input())) for _ in range(n)] +print((len(l) + (x - sum(l)) // min(l)))