#include<iostream>
#include<vector>
#include<cstdio>

using namespace std;

int main(void)
{
  int N,D,H; cin>>N>>D>>H;
  vector<double> d(N),h(N);
  double max=0;
  double buf;
  for(int i=0;i<N;i++){cin>>d[i]>>h[i];}
  
  for(int i=0;i<N;i++){
    buf=(H-h[i])/(D-d[i]);
    buf=(H+h[i])-buf*D-buf*d[i];
    buf/=2.0;
    if(max<buf){max=buf;}
  }
  
  printf("%.13f\n",max);
  
  return 0;
}
#include <bits/stdc++.h>
using namespace std;

int main()
{
int n , s , d;
cin >> n >> s >> d;
int a[n][2];
bool b=0;
for(int i = 0 ; i<n ; i++){
    cin >> a[i][0]>> a[i][1];
    if(a[i][0]<s && a[i][1]>d)
    {
        b=1;
    }
}
if(b==1){
    cout << "Yes";
    return 0;
}
cout << "No";










return 0;

}
   