//#Ewise Electric
#include <bits/stdc++.h>
using namespace std;
#define ll long long
bool ONE_CASE=true;
const ll OL=1e18;
const double eps=1e-7;
vector<pair<long double,long double>> neods;
int n;
void solve(){
cin>>n;
for(int i=0;i<n;i++){
int l,m;
cin>>l>>m;
neods.push_back({l,m});
}
sort(neods.begin(),neods.end());
cout<<fixed<<setprecision(8);
for(int i=0;i<n-1;i++){
//we need to BS between l and r
long double l=neods[i].first,r=neods[i+1].first;
long double mid=(l+r)/2.0,x1=0,x2=0;
for(int z=i+1;z<n;z++){
x2+=(neods[z].second)/(powl((neods[z].first-mid),2));
}
for(int z=0;z<=i;z++){
x1+=(neods[z].second)/(powl((neods[z].first-mid),2));
if(x1>x2+eps)break;
}
while(abs(x2-x1)>eps){
/*cout<<mid<<endl;
cout<<x2<<"#"<<x1<<endl;*/
if(x2>x1){
r=mid;
}
else{
l=mid;
}
mid=(r+l)/2.0;
x1=x2=0;
for(int z=i+1;z<n;z++){
x2+=(neods[z].second)/(powl((neods[z].first-mid),2));
}
for(int z=0;z<=i;z++){
x1+=(neods[z].second)/(powl((neods[z].first-mid),2));
if(x1>x2+eps)break;
}
/*cout<<mid<<endl;
cout<<x2<<"#"<<x1<<endl;*/
}
cout<<mid<<endl;
}
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t=1;
if(!ONE_CASE)
cin>>t;
while(t--){
solve();
}
}
Ly8jRXdpc2UgRWxlY3RyaWMKCiNpbmNsdWRlIDxiaXRzL3N0ZGMrKy5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwojZGVmaW5lIGxsIGxvbmcgbG9uZwpib29sIE9ORV9DQVNFPXRydWU7CiAKY29uc3QgbGwgT0w9MWUxODsKY29uc3QgZG91YmxlIGVwcz0xZS03Owp2ZWN0b3I8cGFpcjxsb25nIGRvdWJsZSxsb25nIGRvdWJsZT4+IG5lb2RzOwppbnQgbjsKIAp2b2lkIHNvbHZlKCl7CiAgICBjaW4+Pm47CiAgICAKICAgIGZvcihpbnQgaT0wO2k8bjtpKyspewogICAgICAgIGludCBsLG07CiAgICAgICAgY2luPj5sPj5tOwogICAgICAgIG5lb2RzLnB1c2hfYmFjayh7bCxtfSk7CiAgICB9ICAgIAogICAgc29ydChuZW9kcy5iZWdpbigpLG5lb2RzLmVuZCgpKTsKICAgIGNvdXQ8PGZpeGVkPDxzZXRwcmVjaXNpb24oOCk7CiAgICAKICAgIGZvcihpbnQgaT0wO2k8bi0xO2krKyl7CiAgICAgICAgCiAgICAgICAgLy93ZSBuZWVkIHRvIEJTIGJldHdlZW4gbCBhbmQgcgogICAgICAgIGxvbmcgZG91YmxlIGw9bmVvZHNbaV0uZmlyc3Qscj1uZW9kc1tpKzFdLmZpcnN0OwogICAgICAgIGxvbmcgZG91YmxlIG1pZD0obCtyKS8yLjAseDE9MCx4Mj0wOwogICAgICAgICAgICBmb3IoaW50IHo9aSsxO3o8bjt6KyspewogICAgICAgICAgICAgICAgeDIrPShuZW9kc1t6XS5zZWNvbmQpLyhwb3dsKChuZW9kc1t6XS5maXJzdC1taWQpLDIpKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBmb3IoaW50IHo9MDt6PD1pO3orKyl7CiAgICAgICAgICAgICAgICB4MSs9KG5lb2RzW3pdLnNlY29uZCkvKHBvd2woKG5lb2RzW3pdLmZpcnN0LW1pZCksMikpOwogICAgICAgICAgICAgICAgaWYoeDE+eDIrZXBzKWJyZWFrOwogICAgICAgICAgICB9CiAgICAgICAgd2hpbGUoYWJzKHgyLXgxKT5lcHMpewogICAgICAgICAgICAKICAgICAgICAgICAgCiAgICAgICAgICAgIC8qY291dDw8bWlkPDxlbmRsOwogICAgICAgICAgICBjb3V0PDx4Mjw8IiMiPDx4MTw8ZW5kbDsqLwogICAgICAgICAgICAKICAgICAgICAgICAgaWYoeDI+eDEpewogICAgICAgICAgICAgICAgcj1taWQ7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZXsKICAgICAgICAgICAgICAgIGw9bWlkOwogICAgICAgICAgICB9CiAgICAgICAgICAgIG1pZD0ocitsKS8yLjA7CiAgICAgICAgICAgIHgxPXgyPTA7CiAgICAgICAgICAgIGZvcihpbnQgej1pKzE7ejxuO3orKyl7CiAgICAgICAgICAgICAgICB4Mis9KG5lb2RzW3pdLnNlY29uZCkvKHBvd2woKG5lb2RzW3pdLmZpcnN0LW1pZCksMikpOwogICAgICAgICAgICB9CiAgICAgICAgICAgIGZvcihpbnQgej0wO3o8PWk7eisrKXsKICAgICAgICAgICAgICAgIHgxKz0obmVvZHNbel0uc2Vjb25kKS8ocG93bCgobmVvZHNbel0uZmlyc3QtbWlkKSwyKSk7CiAgICAgICAgICAgICAgICBpZih4MT54MitlcHMpYnJlYWs7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgLypjb3V0PDxtaWQ8PGVuZGw7CiAgICAgICAgICAgIGNvdXQ8PHgyPDwiIyI8PHgxPDxlbmRsOyovCiAgICAgICAgfQogICAgICAgIAogICAgICAgIGNvdXQ8PG1pZDw8ZW5kbDsKICAgIH0KfQppbnQgbWFpbigpewogICAgaW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICBjaW4udGllKE5VTEwpOwogICAgCiAgICAKICAgIAogICAgaW50IHQ9MTsKICAgIGlmKCFPTkVfQ0FTRSkKICAgICAgICBjaW4+PnQ7CiAgICB3aGlsZSh0LS0pewogICAgICAgIAogICAgICAgIHNvbHZlKCk7CiAgICB9Cn0=