import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int n = sc.nextInt(); double[][][][] dp = new double[n + 1][a + 1][b + 1][c + 1]; dp[0][a][b][c] = 1; for (int i = 0; i < n; i++) { for (int j = a; j >= 0; j--) { for (int k = b; k >= 0; k--) { for (int l = c; l >= 0 && dp[i][j][k][l] > 0; l--) { double sum = j + k + l; double remain = 1; if (j > 1) { dp[i + 1][j - 1][k][l] += dp[i][j][k][l] * j * (j - 1) / sum / (sum - 1); remain -= j * (j - 1) / sum / (sum - 1); } if (k > 1) { dp[i + 1][j][k - 1][l] += dp[i][j][k][l] * k * (k - 1) / sum / (sum - 1); remain -= k * (k - 1) / sum / (sum - 1); } if (l > 1) { dp[i + 1][j][k][l - 1] += dp[i][j][k][l] * l * (l - 1) / sum / (sum - 1); remain -= l * (l - 1) / sum / (sum - 1); } dp[i + 1][j][k][l] += dp[i][j][k][l] * remain; } } } } double ansA = 0; double ansB = 0; double ansC = 0; for (int i = a; i >= 0; i--) { for (int j = b; j >= 0; j--) { for (int k = c; k >= 0; k--) { ansA += (a - i) * dp[n][i][j][k]; ansB += (b - j) * dp[n][i][j][k]; ansC += (c - k) * dp[n][i][j][k]; } } } System.out.println(ansA + " " + ansB + " " + ansC); } } class Scanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); public Scanner() throws Exception { } public int nextInt() throws Exception { return Integer.parseInt(next()); } public long nextLong() throws Exception { return Long.parseLong(next()); } public double nextDouble() throws Exception { return Double.parseDouble(next()); } public String next() throws Exception { while (!st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } }