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;
int mod = 1000000007;
const double PI = acos(-1), ebs = 0.00001;
string add(string s1, string s2) {
  reverse(s1.begin(), s1.end());
  reverse(s2.begin(), s2.end());
  string ss = "";
  int i = 0, j = 0, nxt = 0;
  while (i < s1.size() || j < s2.size() || nxt) {
    int temp = (i < s1.size() ? s1[i] - '0' : 0) +
               (j < s2.size() ? s2[j] - '0' : 0) + nxt;
    ss.push_back(temp % 10 + '0');
    nxt = temp / 10;
    i++, j++;
  }
  reverse(ss.begin(), ss.end());
  return ss;
}
void yes() { cout << "YES" << '\n'; }
void no() { cout << "NO" << '\n'; }
bool cmp(const pair<int, string> &a, const pair<int, string> &b) {
  return (a.first > b.first);
}
long long int ceil(long long int x, long long int y) {
  return x % y ? x / y + 1 : x / y;
}
long long int power(long long int x, long long int y, long long int mo) {
  long long int r = 1;
  x = x % mo;
  while (y) {
    if (y & 1) r = (r * x % mo) % mo;
    y = y >> 1;
    x = ((x % mo) * (x % mo)) % mo;
  }
  return r % mo;
}
long long int gcd(long long int x, long long int y) {
  return y ? gcd(y, x % y) : x;
}
long long int fac(long long int x) { return (x ? x * fac(x - 1) : 1); }
long long int inv(long long int x, long long int y) {
  return (x * power(y, mod - 2, mod)) % mod;
}
long long int Twafiq(int n, int r) {
  long long int res = fac(n);
  long long int div = fac(n - r) * fac(r);
  div %= mod;
  div = power(div, mod - 2, mod);
  return (res * div) % mod;
}
long long int r, s, p;
double dp[101][101][101];
double solve(int i, int j, int k) {
  if (i < 0 || j < 0 || k <= 0) return 0;
  if (i == 0 && j == 0) return k > 0;
  double &ret = dp[i][j][k];
  if (ret + 1) return ret;
  double n = i + j + k, rr = i, ss = j, pp = k;
  ret = 0;
  ret += pp * rr / (rr * ss + rr * pp + ss * pp) * solve(i - 1, j, k);
  ret += rr * ss / (rr * ss + rr * pp + ss * pp) * solve(i, j - 1, k);
  ret += ss * pp / (rr * ss + rr * pp + ss * pp) * solve(i, j, k - 1);
  return ret;
}
int main() {
  cout << fixed << setprecision(12);
  for (int i = 0; i < 101; i++) {
    for (int j = 0; j < 101; j++) {
      for (int k = 0; k < 101; k++) {
        dp[i][j][k] = -1;
      }
    }
  }
  cin >> r >> s >> p;
  cout << solve(s, p, r) << ' ' << solve(p, r, s) << ' ' << solve(r, s, p)
       << '\n';
  return 0;
}