int main() {
const double pi = 3.1415926; double a; scanf("%lf", &a); if (a >= 1 && a <= 10) printf("%lf\n%lf", (4.0 / 3.0) * pi * a * a * a, 4 * pi * a * a); return 0;
}