N,D=(int(i) for i in input().split()) _=input() V=[int(i) for i in input().split()] def k(t): d=0 for i in range(N): d+=V[i]*t if d>=D: return True else: return False ng=0 ok=D while abs(ok-ng)>1: mid = (ng+ok)//2 if k(mid): ok=mid else: ng=mid print(ok)