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

donut_type = [int(eval(input())) for i in range(N)]

X = X - sum(donut_type)

result = N

while X >= sorted(donut_type)[0]:

    X = X - sorted(donut_type)[0]

    result += 1



print(result)
import math

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

donut_type = [int(eval(input())) for i in range(N)]

X = X - sum(donut_type)

result = N

result += math.floor(X / min(donut_type))



print(result)
N, X = [int(i) for i in input().split()]
donut_type = [int(eval(input())) for i in range(N)]
X = X - sum(donut_type)
result = N
while X >= sorted(donut_type)[0]:
    X = X - sorted(donut_type)[0]
    result += 1
print(result)

import math

N, X = [int(i) for i in input().split()]
donut_type = [int(eval(input())) for i in range(N)]
X = X - sum(donut_type)
result = N
result += math.floor(X / min(donut_type))
print(result)

+import math + -while X >= sorted(donut_type)[0]: -    X = X - sorted(donut_type)[0] -    result += 1 +result += math.floor(X / min(donut_type))