#include<stdio.h> int ju(int a,int b){return a*b;} float yuan(int a){return a*a*3.14;} int zheng(int a){return a*a;} int main() { int a,b,c,d; scanf("%d %d\n%d\n%d",&a,&b,&c,&d); printf("%d\n",ju(a,b)); float x = yuan(c); int xx = 100*(x-(int)x); if(xx==0) printf("%d\n",(int)x); else if(xx%10==0) printf("%.1f\n",x); else printf("%.2f\n",x); printf("%d\n",zheng(d)); return 0; }