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 CPP):

Solution:
#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
void fre() { freopen("t.txt", "r", stdin); }
template <class T1, class T2>
inline void gmax(T1 &a, T2 b) {
  if (b > a) a = b;
}
template <class T1, class T2>
inline void gmin(T1 &a, T2 b) {
  if (b < a) a = b;
}
const int INF = 0x3f3f3f3f;
const int MAXN = 100010;
int dir[4][2] = {1, 0, -1, 0, 0, 1, 0, -1};
const double eps = 1e-8;
int a, b, c;
struct node {
  bool vis;
  double a, b, c;
  node() { vis = 0; }
  node operator*(const double t) const {
    node p;
    p.a = a * t;
    p.b = b * t;
    p.c = c * t;
    return p;
  }
  node operator+(const node t) const {
    node p;
    p.a = t.a + a;
    p.b = t.b + b;
    p.c = t.c + c;
    return p;
  }
} dp[105][105][105];
node dfs(int a, int b, int c, int s) {
  if (dp[a][b][c].vis == 1) return dp[a][b][c];
  if (a + b == 0 || b + c == 0 || a + c == 0) {
    if (a) dp[a][b][c].a = 1;
    if (b) dp[a][b][c].b = 1;
    if (c) dp[a][b][c].c = 1;
    dp[a][b][c].vis = 1;
    return dp[a][b][c];
  }
  double ta = a * 1.0 / s, tb = b * 1.0 / s, tc = c * 1.0 / s;
  double tab = ta * tb, tbc = tb * tc, tac = ta * tc;
  double tot = tab + tac + tbc;
  tab = tab / tot;
  tbc = tbc / tot;
  tac = tac / tot;
  if (b >= 1) dp[a][b][c] = dfs(a, b - 1, c, s - 1) * tab;
  if (a >= 1) dp[a][b][c] = dp[a][b][c] + dfs(a - 1, b, c, s - 1) * tac;
  if (c >= 1) dp[a][b][c] = dp[a][b][c] + dfs(a, b, c - 1, s - 1) * tbc;
  dp[a][b][c].vis = 1;
  return dp[a][b][c];
}
void solve() {
  dp[0][0][0].a = dp[0][0][0].b = dp[0][0][0].c = 0;
  dp[0][0][0].vis = 1;
  dp[1][0][0].a = 1;
  dp[1][0][0].b = dp[1][0][0].c = 0;
  dp[1][0][0].vis = 1;
  dp[0][1][0].a = 0;
  dp[0][1][0].b = 1;
  dp[0][1][0].c = 0;
  dp[0][1][0].vis = 1;
  dp[0][0][1].a = dp[0][0][1].b = 0;
  dp[0][0][1].c = 1;
  dp[0][0][1].vis = 1;
  dfs(a, b, c, a + b + c);
  printf("%.10f %.10f %.10f\n", dp[a][b][c].a, dp[a][b][c].b, dp[a][b][c].c);
}
int main() {
  int T, cas = 0;
  while (~scanf("%d%d%d", &a, &b, &c)) solve();
  return 0;
}