#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;

const double PI = 3.14159265358979;
double p1, p2, p3, p4;
double s, s1, s2, s3, s4;
double m, n, t, c;
double inm, inn;

double Sqr(double x)
{
	return x * x;
}

int main()
{
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);

	scanf("%lf %lf %lf %lf", &m, &n, &t, &c);

	s = m * n * t * t;
	inm = max(0.0, m - 2);
	inn = max(0.0, n - 2);

	s1 = n * m * Sqr(t - c) +
		(n + m) * c * (t - c) +
		Sqr(c);

	p1 = 100 * s1 / s;

	s2 = ((m - 1) * n + (n - 1) * m) * c * (t - c) + 
		((m - 1) + (n - 1)) * Sqr(c);

	p2 = 100 * s2 / s;

	s4 = (m - 1) * (n - 1) * PI * Sqr(c / 2);

	p4 = 100 * s4 / s;

	p3 = 100 - p1 - p2 - p4;

	printf("%.4lf %.4lf %.4lf %.4lf\n", p1, p2, p3, p4);

	return 0;
}