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

m=[]



for i in range(n):

    m.append(int(eval(input())))



x-=sum(m)

count=n

minm=min(m)



while minm<=x:

    count+=1

    x-=minm



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



m=[0]*n



for i in range(n):

    m[i]=int(eval(input()))

    x-=m[i]



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

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

-m = [] +m = [0] * n -    m.append(int(eval(input()))) -x -= sum(m) -count = n -minm = min(m) -while minm <= x: -    count += 1 -    x -= minm -print(count) +    m[i] = int(eval(input())) +    x -= m[i] +print((n + x // min(m)))