#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, p, q;
  cin >> n >> p >> q;
  long long int d = p + q;
  long long int g = n / d;
  long long int n1 = n - (g * d);
  float j = (float)n1 / (float)d;
  float ans = (g * p) + (j * p);
  printf("%0.4f\n", ans);
}
