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

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

total = x - sum(ls)

minNum = min(ls)

ans = n - 1



while total >= 0:

    total -= minNum

    ans += 1

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

minNum = float('inf')

for i in range(n):

    m = int(eval(input()))

    minNum = min(m, minNum)

    x -= m

print((x // minNum + n))
n, x = list(map(int, input().split()))
ls = [int(eval(input())) for _ in range(n)]
total = x - sum(ls)
minNum = min(ls)
ans = n - 1
while total >= 0:
    total -= minNum
    ans += 1
print(ans)

n, x = list(map(int, input().split()))
minNum = float("inf")
for i in range(n):
    m = int(eval(input()))
    minNum = min(m, minNum)
    x -= m
print((x // minNum + n))

-ls = [int(eval(input())) for _ in range(n)] -total = x - sum(ls) -minNum = min(ls) -ans = n - 1 -while total >= 0: -    total -= minNum -    ans += 1 -print(ans) +minNum = float("inf") +for i in range(n): +    m = int(eval(input())) +    minNum = min(m, minNum) +    x -= m +print((x // minNum + n))