N, X = [int(x) for x in input().split()]



list01=[]

for i in range(N):

  j = int(eval(input()))

  list01.append(j)

 

j = 0

mass = sum(list01)



while mass <= X:

  j += 1

  mass = sum(list01) + min(list01) * j



print((N + j -1))
N, X = [int(x) for x in input().split()]



list01 = []

for i in range(N):

  i = int(eval(input()))

  list01.append(i)



min_01 = 0

for i in range(len(list01)):

  if min_01 == 0:

    min_01 = list01[i]

  elif list01[i] < min_01:

    min_01 = list01[i]

  

for i in range(len(list01)):

  X -= list01[i]

    

print((X // min_01 + N))

N, X = [int(x) for x in input().split()]
list01 = []
for i in range(N):
    j = int(eval(input()))
    list01.append(j)
j = 0
mass = sum(list01)
while mass <= X:
    j += 1
    mass = sum(list01) + min(list01) * j
print((N + j - 1))

N, X = [int(x) for x in input().split()]
list01 = []
for i in range(N):
    i = int(eval(input()))
    list01.append(i)
min_01 = 0
for i in range(len(list01)):
    if min_01 == 0:
        min_01 = list01[i]
    elif list01[i] < min_01:
        min_01 = list01[i]
for i in range(len(list01)):
    X -= list01[i]
print((X // min_01 + N))

-    j = int(eval(input())) -    list01.append(j) -j = 0 -mass = sum(list01) -while mass <= X: -    j += 1 -    mass = sum(list01) + min(list01) * j -print((N + j - 1)) +    i = int(eval(input())) +    list01.append(i) +min_01 = 0 +for i in range(len(list01)): +    if min_01 == 0: +        min_01 = list01[i] +    elif list01[i] < min_01: +        min_01 = list01[i] +for i in range(len(list01)): +    X -= list01[i] +print((X // min_01 + N))