a, b, c, n = map(int, input().split()) from collections import defaultdict dp = defaultdict(lambda: 0) dp[(a, b, c)] = 1 for i in range(n): nx = defaultdict(lambda: 0) for (x, y, z), p in dp.items(): t = (x+y+z)*(x+y+z-1)//2 if t == 0: continue px = x*(x-1)//2 nx[(x-1, y, z)] += (px/t)*p py = y*(y-1)//2 nx[(x, y-1, z)] += (py/t)*p pz = z*(z-1)//2 nx[(x, y, z-1)] += (pz/t)*p nx[(x, y, z)] += ((t-px-py-pz)/t)*p dp = nx ans = [0, 0, 0] for (x, y, z), p in dp.items(): ans[0] += (a-x)*p ans[1] += (b-y)*p ans[2] += (c-z)*p print(*ans)