Problem: Mikhail the Freelancer dreams of two things: to become a cool programmer and to buy a flat in Moscow. To become a cool programmer, he needs at least p experience points, and a desired flat in Moscow costs q dollars. Mikhail is determined to follow his dreams and registered at a freelance site.

He has suggestions to work on n distinct projects. Mikhail has already evaluated that the participation in the i-th project will increase his experience by ai per day and bring bi dollars per day. As freelance work implies flexible working hours, Mikhail is free to stop working on one project at any time and start working on another project. Doing so, he receives the respective share of experience and money. Mikhail is only trying to become a cool programmer, so he is able to work only on one project at any moment of time.

Find the real value, equal to the minimum number of days Mikhail needs to make his dream come true.

For example, suppose Mikhail is suggested to work on three projects and a1 = 6, b1 = 2, a2 = 1, b2 = 3, a3 = 2, b3 = 6. Also, p = 20 and q = 20. In order to achieve his aims Mikhail has to work for 2.5 days on both first and third projects. Indeed, a1·2.5 + a2·0 + a3·2.5 = 6·2.5 + 1·0 + 2·2.5 = 20 and b1·2.5 + b2·0 + b3·2.5 = 2·2.5 + 3·0 + 6·2.5 = 20.

Input

The first line of the input contains three integers n, p and q (1 ≤ n ≤ 100 000, 1 ≤ p, q ≤ 1 000 000) — the number of projects and the required number of experience and money.

Each of the next n lines contains two integers ai and bi (1 ≤ ai, bi ≤ 1 000 000) — the daily increase in experience and daily income for working on the i-th project.

Output

Print a real value — the minimum number of days Mikhail needs to get the required amount of experience and money. Your answer will be considered correct if its absolute or relative error does not exceed 10 - 6. 

Namely: let's assume that your answer is a, and the answer of the jury is b. The checker program will consider your answer correct, if <image>.

Examples

Input

3 20 20
6 2
1 3
2 6


Output

5.000000000000000


Input

4 1 1
2 3
3 2
2 3
3 2


Output

0.400000000000000

Note

First sample corresponds to the example in the problem statement.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int MAXN = (int)1e5 + 7;
const int INF = (int)1e9 + 7;
const long long LINF = (long long)1e18 + 7;
const int MOD = (int)1e9 + 7;
void file() {}
inline int readChar();
template <class T = int>
inline T readInt();
template <class T>
inline void writeInt(T x, char end = 0);
inline void writeChar(int x);
inline void writeWord(const char *s);
static const int buf_size = 4096;
inline int getChar() {
  static char buf[buf_size];
  static int len = 0, pos = 0;
  if (pos == len) pos = 0, len = fread(buf, 1, buf_size, stdin);
  if (pos == len) return -1;
  return buf[pos++];
}
inline int readChar() {
  int c = getChar();
  while (c <= 32) c = getChar();
  return c;
}
template <class T>
inline T readInt() {
  int s = 1, c = readChar();
  T x = 0;
  if (c == '-') s = -1, c = getChar();
  while ('0' <= c && c <= '9') x = x * 10 + c - '0', c = getChar();
  return s == 1 ? x : -x;
}
static int write_pos = 0;
static char write_buf[buf_size];
inline void writeChar(int x) {
  if (write_pos == buf_size)
    fwrite(write_buf, 1, buf_size, stdout), write_pos = 0;
  write_buf[write_pos++] = x;
}
template <class T>
inline void writeInt(T x, char end) {
  if (x < 0) writeChar('-'), x = -x;
  char s[24];
  int n = 0;
  while (x || !n) s[n++] = '0' + x % 10, x /= 10;
  while (n--) writeChar(s[n]);
  if (end) writeChar(end);
}
inline void writeWord(const char *s) {
  while (*s) writeChar(*s++);
}
struct Flusher {
  ~Flusher() {
    if (write_pos) fwrite(write_buf, 1, write_pos, stdout), write_pos = 0;
  }
} flusher;
struct Point {
  int x, y;
  Point() {}
  Point(int _x, int _y) { x = _x, y = _y; }
};
struct Vect {
  int x, y;
  Vect() {}
  Vect(int _x, int _y) { x = _x, y = _y; }
  Vect(Point a) { x = a.x, y = a.y; }
  Vect(Point a, Point b) { x = b.x - a.x, y = b.y - a.y; }
  long long operator^(Vect d) { return 1ll * x * d.y - 1ll * y * d.x; }
};
void sortpod(vector<Point> &A) {
  int Maxel = -1;
  for (int i = 0; i < (int)A.size(); ++i) {
    Maxel = max(Maxel, A[i].x);
    Maxel = max(Maxel, A[i].y);
  }
  ++Maxel;
  vector<vector<Point> > J(Maxel);
  for (int i = 0; i < (int)A.size(); ++i) {
    J[A[i].y].push_back(A[i]);
  }
  vector<Point> b;
  for (int i = Maxel - 1; i >= 0; --i) {
    for (int j = 0; j < (int)J[i].size(); ++j) {
      b.push_back(J[i][j]);
    }
  }
  J = vector<vector<Point> >(Maxel, vector<Point>(0));
  for (int i = 0; i < (int)b.size(); ++i) {
    J[b[i].x].push_back(b[i]);
  }
  A = vector<Point>(0);
  for (int i = Maxel - 1; i >= 0; --i) {
    for (int j = 0; j < (int)J[i].size(); ++j) {
      A.push_back(J[i][j]);
    }
  }
}
int main() {
  file();
  int n;
  Point C;
  n = readInt(), C.x = readInt(), C.y = readInt();
  vector<Point> A(n), B;
  for (int i = 0; i < n; ++i) {
    A[i].x = readInt(), A[i].y = readInt();
  }
  sortpod(A);
  int maxy = -1;
  for (Point i : A) {
    if (i.y > maxy) {
      B.push_back(i);
      maxy = i.y;
    }
  }
  if ((Vect(B[0]) ^ Vect(B[0], C)) <= 0) {
    printf("%.10f", max(1.0 * C.x / B[0].x, 1.0 * C.y / B[0].y));
    return 0;
  }
  if ((int)B.size() == 1 || (Vect(B.back()) ^ Vect(B.back(), C)) >= 0) {
    printf("%.10f", max(1.0 * C.x / B.back().x, 1.0 * C.y / B.back().y));
    return 0;
  }
  int ind;
  for (int i = 0; i < (int)B.size() - 1; ++i) {
    if ((Vect(B[i]) ^ Vect(B[i], C)) >= 0) {
      ind = i;
    } else {
      break;
    }
  }
  double ans = 1e18;
  int uk = ind + 1;
  auto get_ans = [C](int x1, int y1, int x2, int y2) {
    double a, b;
    if (x1 * y2 - x2 * y1 == 0) {
      int yy = max(y1, y2);
      int xx = max(x1, x2);
      return 1.0 * C.x / xx + 1.0 * C.y / yy;
    } else {
      b = 1.0 * (1ll * x1 * C.y - 1ll * C.x * y1) /
          (1ll * x1 * y2 - 1ll * x2 * y1);
      a = 1.0 * (C.x - b * x2) / x1;
      return a + b;
    }
  };
  for (int i = ind; i >= 0; --i) {
    int x1, y1;
    x1 = B[i].x, y1 = B[i].y;
    double cur;
    while (uk + 1 != (int)B.size() &&
           get_ans(x1, y1, B[uk + 1].x, B[uk + 1].y) <=
               get_ans(x1, y1, B[uk].x, B[uk].y)) {
      ++uk;
    }
    cur = get_ans(x1, y1, B[uk].x, B[uk].y);
    ans = min(ans, cur);
  }
  printf("%.10f", ans);
  return 0;
}