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>
using namespace ::std;
const long double PI = acos(-1);
const long long MOD = 1000000000 + 7;
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
long long add(long long a, long long b, long long m = MOD) {
  if (a >= m) a %= m;
  if (b >= m) b %= m;
  if (a < 0) a += m;
  if (b < 0) b += m;
  long long res = a + b;
  if (res >= m or res <= -m) res %= m;
  if (res < 0) res += m;
  return res;
}
long long mul(long long a, long long b, long long m = MOD) {
  if (a >= m) a %= m;
  if (b >= m) b %= m;
  if (a < 0) a += m;
  if (b < 0) b += m;
  long long res = a * b;
  if (res >= m or res <= -m) res %= m;
  if (res < 0) res += m;
  return res;
}
long long pow_mod(long long a, long long b, long long m = MOD) {
  long long res = 1LL;
  a = a % m;
  while (b) {
    if (b & 1) res = mul(res, a, m);
    b >>= 1;
    a = mul(a, a, m);
  }
  return res;
}
long long fastexp(long long a, long long b) {
  long long res = 1LL;
  while (b) {
    if (b & 1) res = res * a;
    b >>= 1;
    a *= a;
  }
  return res;
}
int gcdExtendido(int a, int b, int *x, int *y) {
  if (a == 0) {
    *x = 0;
    *y = 1;
    return b;
  }
  int x1, y1;
  int gcd = gcdExtendido(b % a, a, &x1, &y1);
  *x = y1 - (b / a) * x1;
  *y = x1;
  return gcd;
}
int modInverso(int a, int m) {
  int x, y;
  int g = gcdExtendido(a, m, &x, &y);
  if (g != 1)
    return -1;
  else
    return (x % m + m) % m;
}
const int N = 100 + 5;
int r, s, p;
bool vis[N][N][N];
pair<double, pair<double, double> > memo[N][N][N];
void dividir(pair<double, pair<double, double> > &a, double d) {
  a.first /= d;
  a.second.first /= d;
  a.second.second /= d;
}
void agregar(pair<double, pair<double, double> > &a,
             pair<double, pair<double, double> > &b) {
  a.first += b.first;
  a.second.first += b.second.first;
  a.second.second += b.second.second;
}
pair<double, pair<double, double> > DP(int a, int b, int c) {
  if (a + b == 0) return make_pair(0, make_pair(0, 1));
  if (a + c == 0) return make_pair(0, make_pair(1, 0));
  if (b + c == 0) return make_pair(1, make_pair(0, 0));
  if (vis[a][b][c]) return memo[a][b][c];
  pair<double, pair<double, double> > ans = make_pair(0, make_pair(0, 0));
  double den = 2 * (a * b + b * c + c * a);
  if (a > 0 and b > 0) {
    pair<double, pair<double, double> > carry = DP(a, b - 1, c);
    double num = 2 * a * b;
    dividir(carry, den);
    dividir(carry, 1.0 / num);
    agregar(ans, carry);
  }
  if (a > 0 and c > 0) {
    pair<double, pair<double, double> > carry = DP(a - 1, b, c);
    double num = 2 * a * c;
    dividir(carry, den);
    dividir(carry, 1.0 / num);
    agregar(ans, carry);
  }
  if (b > 0 and c > 0) {
    pair<double, pair<double, double> > carry = DP(a, b, c - 1);
    double num = 2 * b * c;
    dividir(carry, den);
    dividir(carry, 1.0 / num);
    agregar(ans, carry);
  }
  vis[a][b][c] = true;
  return memo[a][b][c] = ans;
}
int main() {
  scanf("%d %d %d", &(r), &(s), &(p));
  pair<double, pair<double, double> > ans = DP(r, s, p);
  cout << setprecision(10) << fixed << ans.first << " " << ans.second.first
       << " " << ans.second.second << endl;
  return 0;
}