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

m = [int(a) for a in [eval(input()) for i in range(n)]]

x = x - sum(m)

y = min(m)

while x >= y:

  x -= y

  n += 1

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

m = [int(a) for a in [eval(input()) for i in range(n)]]

print((n + (x - sum(m))//min(m)))
n, x = list(map(int, input().split()))
m = [int(a) for a in [eval(input()) for i in range(n)]]
x = x - sum(m)
y = min(m)
while x >= y:
    x -= y
    n += 1
print(n)

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

-x = x - sum(m) -y = min(m) -while x >= y: -    x -= y -    n += 1 -print(n) +print((n + (x - sum(m)) // min(m)))