ll N,A,S,D;{rd(N,D);REP(N)rd(A);REP(N)rd(A),S+=A;wt((D+S-1)/S);}