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>
const long double eps = 1e-9;
using namespace std;
template <class T>
inline T MAX(const T &_a, const T &_b) {
  return ((_a > _b) ? _a : _b);
}
template <class T>
inline T MIN(const T &_a, const T &_b) {
  return ((_a < _b) ? _a : _b);
}
template <class T>
inline T MAX3(const T &_a, const T &_b, const T &_c) {
  return MAX(MAX(_a, _b), _c);
}
template <class T>
inline T MIN3(const T &_a, const T &_b, const T &_c) {
  return MIN(MIN(_a, _b), _c);
}
template <class T>
inline T MAX4(const T &_a, const T &_b, const T &_c, const T &_d) {
  return MAX(MAX3(_a, _b, _c), _d);
}
template <class T>
inline T MIN4(const T &_a, const T &_b, const T &_c, const T &_d) {
  return MIN(MIN3(_a, _b, _c), _d);
}
template <class T>
inline T ABS(const T &_a) {
  return ((_a < 0) ? -_a : _a);
}
template <class T>
inline T SQR(const T &_a) {
  return _a * _a;
}
template <class T>
inline T gcd(T _a, T _b) {
  for (T _r; (_r = _a % _b); _b = _r) _a = _b;
  return _b;
}
template <class T>
inline T lcm(const T &_a, const T &_b) {
  return (_a / gcd(_a, _b)) * _b;
}
template <class T>
inline bool BETW(const T &_a, const T &_b, const T &_c) {
  return (_a >= MIN(_b, _c) && _a <= MAX(_b, _c));
}
template <class T>
inline bool EXT(const T &_a, const T &_b, const T &_c) {
  return !BETW(_a, _b, _c);
}
const int MAXN = 110;
long double rock[MAXN][MAXN][MAXN];
long double scissor[MAXN][MAXN][MAXN];
long double paper[MAXN][MAXN][MAXN];
void solve(int r, int s, int p) {
  long double gs, pr, ps, pp;
  if (rock[r][s][p] > -1.0) return;
  if (r == 0) {
    if (s > 0) {
      scissor[r][s][p] = 1.0;
      paper[r][s][p] = rock[r][s][p] = 0.0;
    } else {
      paper[r][s][p] = 1.0;
      scissor[r][s][p] = rock[r][s][p] = 0.0;
    }
    return;
  }
  if (s == 0) {
    if (p > 0) {
      paper[r][s][p] = 1.0;
      rock[r][s][p] = scissor[r][s][p] = 0.0;
    } else {
      rock[r][s][p] = 1.0;
      scissor[r][s][p] = paper[r][s][p] = 0.0;
    }
    return;
  }
  if (p == 0) {
    rock[r][s][p] = 1.0;
    scissor[r][s][p] = paper[r][s][p] = 0.0;
    return;
  }
  solve(r - 1, s, p);
  solve(r, s - 1, p);
  solve(r, s, p - 1);
  pr = (2.0 * r * p) / ((r + s + p) * (r + s + p - 1));
  ps = (2.0 * r * s) / ((r + s + p) * (r + s + p - 1));
  pp = (2.0 * s * p) / ((r + s + p) * (r + s + p - 1));
  gs = 1.0 / (1.0 - ((long double)r * (r - 1) + s * (s - 1) + p * (p - 1)) /
                        ((r + s + p) * (r + s + p - 1)));
  rock[r][s][p] = gs * (pr * rock[r - 1][s][p] + ps * rock[r][s - 1][p] +
                        pp * rock[r][s][p - 1]);
  scissor[r][s][p] =
      gs * (pr * scissor[r - 1][s][p] + ps * scissor[r][s - 1][p] +
            pp * scissor[r][s][p - 1]);
  paper[r][s][p] = gs * (pr * paper[r - 1][s][p] + ps * paper[r][s - 1][p] +
                         pp * paper[r][s][p - 1]);
}
int main() {
  int r, s, p;
  ios::sync_with_stdio(false);
  cin.tie(0);
  for (r = 0; r < MAXN; r++)
    for (s = 0; s < MAXN; s++)
      for (p = 0; p < MAXN; p++) rock[r][s][p] = -1.0;
  cin >> r >> s >> p;
  solve(r, s, p);
  cout << fixed << setprecision(30);
  cout << rock[r][s][p] << " " << scissor[r][s][p] << " " << paper[r][s][p];
  return 0;
}