Problem: The Bad Luck Island is inhabited by three kinds of species: r rocks, s scissors and p papers. At some moments of time two random individuals meet (all pairs of individuals can meet equiprobably), and if they belong to different species, then one individual kills the other one: a rock kills scissors, scissors kill paper, and paper kills a rock. Your task is to determine for each species what is the probability that this species will be the only one to inhabit this island after a long enough period of time.

Input

The single line contains three integers r, s and p (1 ≤ r, s, p ≤ 100) — the original number of individuals in the species of rock, scissors and paper, respectively.

Output

Print three space-separated real numbers: the probabilities, at which the rocks, the scissors and the paper will be the only surviving species, respectively. The answer will be considered correct if the relative or absolute error of each number doesn't exceed 10 - 9.

Examples

Input

2 2 2


Output

0.333333333333 0.333333333333 0.333333333333


Input

2 1 2


Output

0.150000000000 0.300000000000 0.550000000000


Input

1 1 3


Output

0.057142857143 0.657142857143 0.285714285714

Solution (in JAVA):

Solution:

import java.io.*;
import java.util.*;

public class CF_540D {

    public static void main(String[] args) throws IOException {
        new CF_540D().solve();
    }

    long c2(int n) {
        if (n < 2) {
            return 0;
        }
        return (n * (n - 1)) / 2;
    }

    double[][][][] memo;

    double[] f(int r, int s, int p) {

        if (r < 0 || s < 0 || p < 0 || r + s + p == 0) {
            return new double[]{0, 0, 0};
        }

        if (memo[r][s][p] != null) {
            return memo[r][s][p];
        }

        double[] res = {0, 0, 0};

        if (s + p == 0) {
            res = new double[]{1, 0, 0};
        } else if (p + r == 0) {
            res = new double[]{0, 1, 0};
        } else if (r + s == 0) {
            res = new double[]{0, 0, 1};
        } else if (r == 0) {
            res = new double[]{0, 1, 0};
        } else if (s == 0) {
            res = new double[]{0, 0, 1};
        } else if (p == 0) {
            res = new double[]{1, 0, 0};
        } else {
            
         
            
            double[] add1 = f(r, s-1, p );
            for (int i = 0; i < add1.length; i++) {
                res[i]+=add1[i] * r * s;
            }
            double[] add2 = f(r, s, p - 1);
            for (int i = 0; i < add2.length; i++) {
                res[i]+=add2[i] * s * p;
            }
            double[] add3 = f(r - 1, s, p);
            for (int i = 0; i < add3.length; i++) {
                res[i]+=add3[i]* p * r;
            }
        
//            System.out.println(Arrays.toString(add1) + " " + r + " " + (s - 1) + " " + p + "<<add1 ");
//            System.out.println(Arrays.toString(add2));
//            System.out.println(Arrays.toString(add3));
            //double denom = c2(r + s + p) - c2(r) - c2(s) - c2(p);
            double denom = r*s+ s*p+ p*r;//c2(r + s + p) - c2(r) - c2(s) - c2(p);
            for (int i = 0; i < res.length; i++) {
                res[i] /= denom;
            }
        }
            
            

//        System.out.println("bla bla");
//        System.out.println(Arrays.toString(f(1, 0, 0)));
//        System.out.println("bla bla");

            
//        System.out.println(r + " " + s + " " + p);
//
//        System.out.println(Arrays.toString(res)+" ");//denom);
//        System.out.println();
        return memo[r][s][p] = res;
    }

    private void solve() throws IOException {

        InputStream in = System.in;
        PrintStream out = System.out;

//        in = new FileInputStream("in.txt");
//        out = new PrintStream("out.txt");
        Scanner sc = new Scanner(in);
        int r = sc.nextInt(), s = sc.nextInt(), p = sc.nextInt();
        memo = new double[r + 1][s + 1][p + 1][];
        memo[1][0][0] = new double[]{1, 0, 0};
        memo[0][1][0] = new double[]{0, 1, 0};
        memo[0][0][1] = new double[]{0, 0, 1};
       
        

        
        double[] res = f(r,s, p);
        for (double val : res) {
            out.print(val + " ");
        }
//        System.out.println("bla bla");
//        System.out.println(Arrays.toString(f(1, 0, 0)));
//        System.out.println("bla bla");
        

    }
}