N,X = list(map(int,input().split()))

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

print((len(record)+(X-(sum(record)))//min(record)))
N,X = list(map(int,input().split()))

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

print((len(m)+((X-sum(m))//min(m))))
N, X = list(map(int, input().split()))
record = [int(eval(input())) for i in range(N)]
print((len(record) + (X - (sum(record))) // min(record)))

N, X = list(map(int, input().split()))
m = [int(eval(input())) for i in range(N)]
print((len(m) + ((X - sum(m)) // min(m))))

-record = [int(eval(input())) for i in range(N)] -print((len(record) + (X - (sum(record))) // min(record))) +m = [int(eval(input())) for i in range(N)] +print((len(m) + ((X - sum(m)) // min(m))))