#include<stdio.h>
int main()
{
int c=314;
float h=5.5,p=3.14,v,s;
v=h*(c*c)/(12*p);
s=c*h+(c*c)/4*p;
printf("%f %f\n",v,s) ;
}