#include <stdio.h>
#define pi 3.14
#include<stdio.h>
struct shap {
int x;
int y;
};
struct un {
struct shap m;
int r;
int c;
};
int main() {
struct un t = {0};
scanf("%d %d", &t.m.x, &t.m.y);
scanf("%d", &t.r);
scanf("%d", &t.c);
printf("%d\n", t.m.x * t.m.y);
printf("%g\n", 3.14 * t.r* t.r);
printf("%d\n", t.c * t.c);
return 0;
}

京公网安备 11010502036488号