import sys input = sys.stdin.readline A, B, C, N = map(int, input().split()) dp = [[[0.] * (C + 1) for _ in range(B + 1)] for _ in range(A + 1)] dp[-1][-1][-1] = 1. #print(dp) for _ in range(N): ndp = [[[0.] * (C + 1) for _ in range(B + 1)] for _ in range(A + 1)] for x in range(A + 1): for y in range(B + 1): for z in range(C + 1): sm = x + y + z #print(x, y, z, sm) if sm >= 2: a = x * (x - 1) / sm / (sm - 1) b = y * (y - 1) / sm / (sm - 1) c = z * (z - 1) / sm / (sm - 1) ndp[x - 1][y][z] += dp[x][y][z] * a ndp[x][y - 1][z] += dp[x][y][z] * b ndp[x][y][z - 1] += dp[x][y][z] * c #print(a,b,c,dp[x][y][z]) ndp[x][y][z] += dp[x][y][z] * (1 - a - b - c) else: ndp[x][y][z] += dp[x][y][z] dp = ndp #print(dp) res = [0.] * 3 for x in range(A + 1): for y in range(B + 1): for z in range(C + 1): res[0] += dp[x][y][z] * (A - x) res[1] += dp[x][y][z] * (B - y) res[2] += dp[x][y][z] * (C - z) print(*res)