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.File;
import java.io.FileNotFoundException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.TreeMap;

public class l091 {
	
	private static double[][] mp = new double[101*101*101][3];
	
	public static void main(String[] args) throws Exception {
//		StringTokenizer stok = new StringTokenizer(new Scanner(new File("F:/books/input.txt")).useDelimiter("\\A").next());
		StringTokenizer stok = new StringTokenizer(new Scanner(System.in).useDelimiter("\\A").next());
		StringBuilder sb = new StringBuilder();
		int r = Integer.parseInt(stok.nextToken());
		int s = Integer.parseInt(stok.nextToken());
		int p = Integer.parseInt(stok.nextToken());
		double[] res = doStuff(r,p,s);
		sb.append(res[0]+" "+res[2]+" "+res[1]);
		System.out.println(sb);
	}

	private static double[] doStuff(int r,int p,int s) {
		int key = r*(101*101)+p*101+s;
		double[] val = mp[key];
		if(val[0]+val[1]+val[2]>0.99) return val;
		if(r==0) val = new double[]{0.0,0.0,1.0};
		else if(p==0) val = new double[] {1.0,0.0,0.0};
		else if(s==0) val = new double[] {0.0,1.0,0.0};
		else {
			int tot = r+p+s;
			double[] w = new double[3];
			w[0] = (r*s)/(double)(tot*(tot-1));
			w[1] = (p*r)/(double)(tot*(tot-1));
			w[2] = (s*p)/(double)(tot*(tot-1));
			double tpro = w[0]+w[1]+w[2];
			val = new double[3];
			double[][] res = new double[3][3];
			res[0] = doStuff(r,p,s-1);
			res[1] = doStuff(r-1,p,s);
			res[2] = doStuff(r,p-1,s);
			for(int i=0;i<3;i++) {
				for(int j=0;j<3;j++) 
					val[j] += (w[i]/tpro)*res[i][j];
			}
		}
		mp[key]=val;
		return val;
	}
	
}