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