n,t=gets.split(" ").map{|e| e.to_i}
gets
y=gets.split(" ").map{|e| e.to_i}.sum
ans=t/y
ans+=1 if t%y>0
puts ans