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

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

X -= sum(M)

m = min(M)

ans = len(M)

while X >= m:

  X -= m

  ans += 1

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

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

print((len(M) + (X - sum(M)) // min(M)))
N, X = list(map(int, input().split()))
M = [int(eval(input())) for _ in range(N)]
X -= sum(M)
m = min(M)
ans = len(M)
while X >= m:
    X -= m
    ans += 1
print(ans)

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

-X -= sum(M) -m = min(M) -ans = len(M) -while X >= m: -    X -= m -    ans += 1 -print(ans) +print((len(M) + (X - sum(M)) // min(M)))