Problem: Harry Potter and He-Who-Must-Not-Be-Named engaged in a fight to the death once again. This time they are located at opposite ends of the corridor of length l. Two opponents simultaneously charge a deadly spell in the enemy. We know that the impulse of Harry's magic spell flies at a speed of p meters per second, and the impulse of You-Know-Who's magic spell flies at a speed of q meters per second.

The impulses are moving through the corridor toward each other, and at the time of the collision they turn round and fly back to those who cast them without changing their original speeds. Then, as soon as the impulse gets back to it's caster, the wizard reflects it and sends again towards the enemy, without changing the original speed of the impulse.

Since Harry has perfectly mastered the basics of magic, he knows that after the second collision both impulses will disappear, and a powerful explosion will occur exactly in the place of their collision. However, the young wizard isn't good at math, so he asks you to calculate the distance from his position to the place of the second meeting of the spell impulses, provided that the opponents do not change positions during the whole fight.

Input

The first line of the input contains a single integer l (1 ≤ l ≤ 1 000) — the length of the corridor where the fight takes place.

The second line contains integer p, the third line contains integer q (1 ≤ p, q ≤ 500) — the speeds of magical impulses for Harry Potter and He-Who-Must-Not-Be-Named, respectively.

Output

Print a single real number — the distance from the end of the corridor, where Harry is located, to the place of the second meeting of the spell impulses. Your answer will be considered correct if its absolute or relative error will not exceed 10 - 4. 

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

Examples

Input

100
50
50


Output

50


Input

199
60
40


Output

119.4

Note

In the first sample the speeds of the impulses are equal, so both of their meetings occur exactly in the middle of the corridor.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
void A_and_B_and_Compilation_Errors_solution() {
  int n;
  cin >> n;
  vector<int> in(n);
  vector<int> in1(n - 1);
  vector<int> in2(n - 2);
  for (int i = 0; i < n; i++) cin >> in[i];
  for (int i = 0; i < n - 1; i++) cin >> in1[i];
  for (int i = 0; i < n - 2; i++) cin >> in2[i];
  sort(in.begin(), in.end());
  sort(in1.begin(), in1.end());
  sort(in2.begin(), in2.end());
  int x = -1, y = -1;
  for (int i = 0; i < n - 1; i++) {
    if (in1[i] != in[i]) {
      x = in[i];
      break;
    }
  }
  if (x == -1) x = in[n - 1];
  for (int i = 0; i < n - 2; i++) {
    if (in2[i] != in1[i]) {
      y = in1[i];
      break;
    }
  }
  if (y == -1) y = in1[n - 2];
  cout << x << endl << y;
}
void Wizards_Duel_solution() {
  double l, x, y;
  cin >> l >> x >> y;
  if (x == y) {
    cout << l / 2;
    return;
  }
  double answer;
  double d1 = l * x / (x + y);
  double d2 = l - d1;
  double t1 = d1 / x;
  double t2 = d2 / y;
  if (t1 < t2) {
    double difference = t2 - t1;
    double new_dist = difference * x;
    double new_l = l - new_dist;
    d1 = new_l * x / (x + y);
    cout << new_dist + d1 << endl;
  } else {
    double difference = t1 - t2;
    double new_dist = difference * y;
    double new_l = l - new_dist;
    d1 = new_l * x / (x + y);
    cout << d1 << endl;
  }
}
int main() {
  Wizards_Duel_solution();
  return 0;
}