#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

int main(){
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	double p,q,r; cin >> p >> q >> r;
	double t=p+q+r;
	printf("%.9f\n",(t-min({p,q,r}))/t);
}