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

m = []

sum = 0

for i in range(n):

    a = int(eval(input()))

    m.append(a)

    sum += a

m = sorted(m)

#print(m)

x -= sum



cnt = n

while x >= m[0]:

    cnt += 1

    x -= m[0]



print(cnt)

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

m = []

sum = 0

for i in range(n):

    a = int(eval(input()))

    m.append(a)

    sum += a

m = sorted(m)

#print(m)

x -= sum



#cnt = n

#while x >= m[0]:

#    cnt += 1

#    x -= m[0]

cnt = n + x // m[0]



print(cnt)

n, x = list(map(int, input().split()))
m = []
sum = 0
for i in range(n):
    a = int(eval(input()))
    m.append(a)
    sum += a
m = sorted(m)
# print(m)
x -= sum
cnt = n
while x >= m[0]:
    cnt += 1
    x -= m[0]
print(cnt)

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

-cnt = n -while x >= m[0]: -    cnt += 1 -    x -= m[0] +# cnt = n +# while x >= m[0]: +#    cnt += 1 +#    x -= m[0] +cnt = n + x // m[0]