#include using namespace std; typedef long long ll; int main() { double P, Q, R; cin >> P >> Q >> R; double a = P + Q + R; double ans = (a - min(P, min(Q, R))) / a; printf("%.9f\n", ans); return 0; }