#include<stdio.h>
#define pi 3.14
int main()
{
    int r;
    double v;
    scanf("%d",&r);
    printf("%lf",(4.0/3.0)*pi*r*r*r);
    return 0;
}