#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; double d,sum; double f(double x){ return (x*sum>=d); } int main(){ cin.tie(0); ios::sync_with_stdio(false); cin>>n>>d; double x[n],u[n]; for(int i=0;i>x[i]; for(int i=0;i>u[i],sum+=u[i]; double lb=0,ub=1001001001001; int t=100000; while(t--){ double md=(ub+lb)/2.0; if(f(md))ub=md; else lb=md; } cout<