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 INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fll;
const double DINF = 1e18;
const double pi = acos(-1.0);
const double eps = 1e-9;
bool eq(double a, double b) { return abs(a - b) <= eps; }
struct pt {
  double x, y;
  pt() {}
  pt(double x_, double y_) : x(x_), y(y_) {}
  bool operator<(const pt p) const {
    if (!eq(x, p.x)) return x < p.x;
    if (!eq(y, p.y)) return y < p.y;
    return 0;
  }
  bool operator==(const pt p) const { return eq(x, p.x) and eq(y, p.y); }
  pt operator+(const pt p) const { return pt(x + p.x, y + p.y); }
  pt operator-(const pt p) const { return pt(x - p.x, y - p.y); }
  pt operator*(const double c) const { return pt(x * c, y * c); }
  pt operator/(const double c) const { return pt(x / c, y / c); }
  double operator*(const pt p) const { return x * p.x + y * p.y; }
  double operator^(const pt p) const { return x * p.y - y * p.x; }
  friend istream& operator>>(istream& in, pt& p) {
    in >> p.x >> p.y;
    return in;
  }
};
struct line {
  pt p, q;
  line() {}
  line(pt p_, pt q_) : p(p_), q(q_) {}
  friend istream& operator>>(istream& in, line& r) {
    in >> r.p >> r.q;
    return in;
  }
};
double sarea2(pt p, pt q, pt r) { return ((q - p) ^ (r - q)); }
int paral(pt u, pt v) {
  if (!eq(u ^ v, 0)) return 0;
  if ((u.x > eps) == (v.x > eps) and (u.y > eps) == (v.y > eps)) return 1;
  return -1;
}
bool ccw(pt p, pt q, pt r) { return sarea2(p, q, r) > 0; }
bool isinseg(pt p, line r) {
  if (p == r.p or p == r.q) return 1;
  return paral(p - r.p, p - r.q) == -1;
}
vector<pt> convex_hull(vector<pt> v) {
  vector<pt> l, u;
  sort(v.begin(), v.end());
  for (int i = 0; i < v.size(); i++) {
    while (l.size() > 1 and !ccw(l[l.size() - 2], l.back(), v[i])) l.pop_back();
    l.push_back(v[i]);
  }
  for (int i = v.size() - 1; i >= 0; i--) {
    while (u.size() > 1 and !ccw(u[u.size() - 2], u.back(), v[i])) u.pop_back();
    u.push_back(v[i]);
  }
  l.pop_back();
  u.pop_back();
  for (pt i : u) l.push_back(i);
  return l;
}
struct convex_pol {
  vector<pt> pol;
  convex_pol(vector<pt> v) : pol(v) {}
  bool is_inside(pt p) {
    if (pol.size() == 1) return p == pol[0];
    if (pol.size() == 2) return isinseg(p, line(pol[0], pol[1]));
    int l = 1, r = pol.size();
    while (l < r) {
      int m = (l + r) / 2;
      if (ccw(p, pol[0], pol[m]))
        l = m + 1;
      else
        r = m;
    }
    if (l == 1) return isinseg(p, line(pol[0], pol[1]));
    if (l == pol.size()) return false;
    return (pol[l - 1] ^ pol[l]) + eps > ((pol[l - 1] - pol[l]) ^ p);
  }
};
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  vector<pt> v(n);
  for (pt& p : v) cin >> p;
  double ma_x = 0, ma_y = 0;
  for (pt p : v) ma_x = max(ma_x, p.x), ma_y = max(ma_y, p.y);
  v.push_back(pt(0, 0));
  v.push_back(pt(ma_x, 0));
  v.push_back(pt(0, ma_y));
  v = convex_hull(v);
  double l = 0, r = 1e18;
  for (int x = 0; x < 200; x++) {
    double m = (l + r) / 2;
    convex_pol pol(v);
    for (pt& p : pol.pol) p = p * m;
    if (pol.is_inside(pt(a, b)))
      r = m;
    else
      l = m;
  }
  cout << fixed << setprecision(12) << l << '\n';
  exit(0);
}