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

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

newx = x - sum(m)

c = n

 

for i in range(114514):

  newx -= m[0]

  c += 1

  if newx < 0 :

    break



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

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

newx = x - sum(m)



a = newx//m[0]



print((n+a))
n, x = list(map(int, input().split()))
m = sorted([int(eval(input())) for i in range(n)])
newx = x - sum(m)
c = n
for i in range(114514):
    newx -= m[0]
    c += 1
    if newx < 0:
        break
print((c - 1))

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

-c = n -for i in range(114514): -    newx -= m[0] -    c += 1 -    if newx < 0: -        break -print((c - 1)) +a = newx // m[0] +print((n + a))