#include<bits/stdc++.h>

using namespace std;
using ll=long long;
#define rep2(i, a, n) for(int i = (a); i < (n); i++)
#define rep(i, n) rep2(i,0,n)

int main(){
  cin.tie(nullptr);ios_base::sync_with_stdio(false);
  double p,q,r;
  cin>>p>>q>>r;
  double a=p/(p+q+r),b=q/(p+q+r),c=r/(p+q+r);
  cout<<fixed<<setprecision(15)<<max(a,max(b,max(c,max(1-a,max(1-b,1-c)))))<<endl;
}