#include<bits/stdc++.h> using namespace std; int main(){ double a=0,b=0,c=0; cin>>a>>b>>c; double d=max(a,max(b,c))/max(a+b,max(b,c))*max(b+c,max(a,b)); cout<<fixed<<setprecision(3)<<d; return 0; }