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.StringTokenizer;

public class D {

    private static class Solution implements Runnable {

        private static final long modulo = 1000000007;


        private void solve() {

            double[][][] dp = new double[101][101][101];

            int rIn = in.nextInt();
            int sIn = in.nextInt();
            int pIn = in.nextInt();

            dp[rIn][sIn][pIn] = 1;

            for (int p = pIn; p >= 0; p--) {
                for (int r = rIn; r >= 0; r--) {
                    for (int s = sIn; s >= 0; s--) {
                        if ((r == 0 && s == 0) || (s == 0 && p == 0) || (p == 0 && r == 0)) {
                            continue;
                        }
                        double c = dp[r][s][p];
                        double rr = r * s;
                        double rs = s * p;
                        double rp = p * r;
                        if (r > 0) {
                            dp[r - 1][s][p] += c * rp / (rr + rs + rp);
                        }
                        if (s > 0) {
                            dp[r][s - 1][p] += c * rr / (rr + rs + rp);
                        }
                        if (p > 0) {
                            dp[r][s][p - 1] += c * rs / (rr + rs + rp);
                        }
                    }
                }
            }

            double resultForR = 0;
            double resultForS = 0;
            double resultForP = 0;

            for (int r = 1; r <= rIn; r++) {
                resultForR += dp[r][0][0];
            }
            for (int s = 1; s <= sIn; s++) {
                resultForS += dp[0][s][0];
            }
            for (int p = 1; p <= pIn; p++) {
                resultForP += dp[0][0][p];
            }

            out.print(resultForR + " " + resultForS + " " + resultForP);
        }

        private long inverse(long a) {
            long result = 1;
            int n = (int) modulo - 2;
            while (n != 0) {
                if ((n & 1) == 1)
                    result = (result * a) % modulo;
                a = (a * a) % modulo;
                n >>= 1;
            }
            return result;
        }

        private long pow(long a, long n) {
            if (n == 0) return 1;
            if (n % 2 == 0) {
                long ans = pow(a, n / 2);
                return ans * ans;
            } else {
                return a * pow(a, n - 1);
            }
        }

        private void closeStreams() {
            in.close();
            out.close();
        }

        @Override
        public void run() {
            solve();
            closeStreams();
        }

        private final FastScanner in = new FastScanner();
        private final PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
    }


    public static void main(String[] args) {
        Thread thread = new Thread(null, new Solution(), "solution", 1 << 27);
        thread.setPriority(Thread.MAX_PRIORITY);
        thread.start();
    }


    public static class FastScanner {

        private BufferedReader br;
        private StringTokenizer st;

        public FastScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }

        void close() {
            try {
                br.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

    }
}