#include <bits/stdc++.h>
const int oo = 2139063143;
const int N = 1010000;
const int P = 1000000007;
using namespace std;
inline void sc(int &x) {
  x = 0;
  static int p;
  p = 1;
  static char c;
  c = getchar();
  while (!isdigit(c)) {
    if (c == '-') p = -1;
    c = getchar();
  }
  while (isdigit(c)) {
    x = (x << 1) + (x << 3) + (c - 48);
    c = getchar();
  }
  x *= p;
}
inline void print(int x) {
  if (x < 0) putchar('-'), x = -x;
  if (x >= 10) print(x / 10);
  putchar(x % 10 + '0');
}
inline void pr(int x) { print(x), putchar('\n'); }
int n, p, q;
int a[N], b[N];
double calc(double wa) {
  double wb = oo;
  for (int i = 1; i <= n; i++) wb = min(wb, (1.0 - wa * a[i]) / b[i]);
  if (wb <= 0) return -oo;
  return wa * p + wb * q;
}
int main() {
  sc(n), sc(p), sc(q);
  for (int i = 1; i <= n; i++) sc(a[i]), sc(b[i]);
  double L = 0, R = 1e5, ans = 0;
  for (int i = 1; i <= 500; i++) {
    double g = (R - L) / 3, lm = L + g, rm = R - g;
    double gl = calc(lm), gr = calc(rm);
    ans = max(ans, max(gl, gr));
    if (gl < gr)
      L = lm;
    else
      R = rm;
  }
  printf("%.15lf\n", ans);
  return 0;
}
