#include using namespace std; int main() { int d, a, b; cin >> d >> a >> b; int res; if (a + b == 0) res = 0; else res = 2 * a * b * d / (a + b); cout << res << endl; }