A, B, C, N = map(int, input().split()) X = [A, B, C] dp = {(A, B, C): 1.0} for _ in range(N): ndp = {} for a, b, c in dp: s = a+b+c if a > 1: if (a-1, b, c) not in ndp: ndp[(a-1, b, c)] = 0.0 ndp[(a-1, b, c)] += dp[(a, b, c)]*a*(a-1)/s/(s-1) if b > 1: if (a, b-1, c) not in ndp: ndp[(a, b-1, c)] = 0.0 ndp[(a, b-1, c)] += dp[(a, b, c)]*b*(b-1)/s/(s-1) if c > 1: if (a, b, c-1) not in ndp: ndp[(a, b, c-1)] = 0.0 ndp[(a, b, c-1)] += dp[(a, b, c)]*c*(c-1)/s/(s-1) if (a, b, c) not in ndp: ndp[(a, b, c)] = 0.0 ndp[(a, b, c)] += dp[(a, b, c)] * \ (s*(s-1)-a*(a-1)-b*(b-1)-c*(c-1))/s/(s-1) dp = ndp ans = [0.0]*3 for t in dp: for i in range(3): ans[i] += dp[t]*(X[i]-t[i]) print(*ans)