#include <stdio.h>
int max3(int a,int b,int c)
{
    int x = a>b?a:b;
    int y  = b>c?b:c;
    return x>y?x:y;
}
int main() {
    int a = 0;
    int b = 0;
    int c =0;
    scanf("%d %d %d",&a,&b,&c);
    double i = 1.0*max3(a+b,b,c)/(max3(a,b+c,c)+max3(a,b,b+c));
    printf("%.2lf",i);
    return 0;
}