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

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

a = n

s = sum(m) 

while s < x:

    s+=min(m)

    a += 1

print(([a,a-1][s>x]))

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

m = list(int(eval(input())) for i in range(n))

x -= sum(m)

print((x//min(m)+n))

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

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

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