#include using namespace std; using ll = long long; using P = pair; const long long INF = 1001001001; const long long MOD = 1000000007; const double EPS = 1e-10; ll n,d,sum; ll f(ll x){ return (x*sum>=d); } int main(){ cin.tie(0); ios::sync_with_stdio(false); cin>>n>>d; ll x[n],u[n]; for(int i=0;i>x[i]; for(int i=0;i>u[i],sum+=u[i]; ll lb=0,ub=1001001001001; while(ub-lb>1){ ll md=(ub+lb)/2; if(f(md))ub=md; else lb=md; } cout<