#include <bits/stdc++.h>
using namespace std;
const int _N = 100010;
int n;
long double p, q, a[_N], b[_N];
long double calc(long double x) {
  static long double y;
  y = 1e9;
  for (int i = 1; i <= n; i++) y = min(y, (1 - x * a[i]) / b[i]);
  return x * p + y * q;
}
int main() {
  cin >> n >> p >> q;
  static long double L, R = 1e9, M1, M2;
  for (int i = 1; i <= n; i++) cin >> a[i] >> b[i], R = min(R, 1 / a[i]);
  for (int i = 1; i <= 50; i++) {
    M1 = (L * 2 + R) / 3, M2 = (L + R * 2) / 3;
    if (calc(M1) < calc(M2))
      L = M1;
    else
      R = M2;
  }
  printf("%.10lf", (double)calc((L + R) / 2));
  return 0;
}
