a = input().split()
s = 0
slist = []
num = 0
 
for i in range(int(a[0])):
  slist.append(input())
  s = s+int(slist[i])
  num += 1
  
if s == int(a[1]):
  print(num)
else:
  s = int(a[1])-s
  temp = s % int(min(slist))
  num = num + ((s-temp)/int(min(slist)))
  print(int(num)+"\n")