U = 50 A, B, C, N = map(int, input().split()) # dp[i,j,k]: (i,j,k)枚もってる確率 dp = [[[0] * (U + 1) for _ in range(U + 1)] for _ in range(U + 1)] dp[A][B][C] = 1.0 for _ in range(N): ndp = [[[0] * (U + 1) for _ in range(U + 1)] for _ in range(U + 1)] for a in range(U+1): for b in range(U+1): for c in range(U+1): tot = a + b + c tot = tot * (tot - 1) // 2 if tot == 0: continue pa = a * (a - 1) // 2 / tot ndp[a-1][b][c] += dp[a][b][c] * pa pb = b * (b - 1) // 2 / tot ndp[a][b-1][c] += dp[a][b][c] * pb pc = c * (c - 1) // 2 / tot ndp[a][b][c-1] += dp[a][b][c] * pc ndp[a][b][c] += dp[a][b][c] * (1 - pa - pb - pc) dp = ndp x, y, z = 0, 0, 0 for a in range(U+1): for b in range(U+1): for c in range(U+1): x += (A - a) * dp[a][b][c] y += (B - b) * dp[a][b][c] z += (C - c) * dp[a][b][c] print("{:.12f} {:.12f} {:.12f}".format(x, y, z))