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

list = []

for i in range(N):

  m = int(eval(input()))

  list.append(m)

  

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

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

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

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

-list = [] -for i in range(N): -    m = int(eval(input())) -    list.append(m) -print((N + (X - sum(list)) // min(list))) +m = [int(eval(input())) for _ in range(N)] +print((N + (X - sum(m)) // min(m)))