#include <stdio.h>
int max(int a,int b,int c)
{
    int max=a>b?a:b;
    return max>c?max:c;
}
int main() {
    int a, b,c;
    scanf("%d %d %d",&a,&b,&c);
    printf("%.2f\n",1.0*max(a+b,b,c)/(max(a,b+c,c)+max(a,b,b+c)));
    return 0;
}