int max3(float a, float b, float c) {
    if (a >= b && a >= c) return a;
    else if (b >= a && b >= c) return b;
    else return c;
}
int main() {
    int a, b, c;
    float m1, m2, m3;
    scanf("%d %d %d", &a, &b, &c);
    m1 = max3(a + b, b, c);
    m2 = max3(a, b + c, c);
    m3 = max3(a, b, b + c);
    printf("%.2f", m1 / (m2 + m3));
    return 0;
}