#include<stdio.h>
int
main()
{
int
r,h;
float
PI=3.14;
scanf
(
"%d %d"
,&r,&h);
printf
(
"C1=%.2f\n"
,r*PI*2);
printf
(
"Sa=%.2f\n"
,PI*r*r);
printf
(
"Sb=%.2f\n"
,PI*r*r*4);
printf
(
"Va=%.2f\n"
,PI*r*r*r*(4.0/3));
printf
(
"Vb=%.2f\n"
,PI*r*r*h);
return
0;
}