#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)

int main() {
	double A[3]; rep(i, 3) cin >> A[i];
	sort(A, A + 3);
	double ans = A[1] + A[2];
	ans /= A[0] + A[1] + A[2];
	cout << fixed << setprecision(10) << ans << endl;
	return 0;
}