import java.util.Scanner;
public class Main {
    
    static double getMax(int a, int b ,int c) {
        int max = a;
        if(max < b) {
            max = b;
        }
        if(max < c) {
            max = c;
        }
        return max*1.0;
    }
    public static void main(String[] args ){
        
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        double m = 0.0;
        m = getMax(a+b, b, c) / (getMax(a, b+c, c) + getMax(a, b, b+c));
        System.out.println(String.format("%.2f", m));
    }
}