// Solution of 2029 Honey Reservoir
// (Mahmud_Jamil) BRUR
#include <stdio.h>
#define PI 3.14
int main()
{
double v, r, h, d, a;
int tmp;
while(scanf("%lf%lf", &v, &d)!=EOF)
{
r = d/2;
a = PI*r*r;
h = v/a;
printf("ALTURA = %.2lf\n",h);
printf("AREA = %.2lf\n",a);
}
return 0;
}