#include <stdio.h>

int main() {
    int r;
    float p=3.14,v;
    scanf("%d",&r);
    v=4.0/3*p*r*r*r;
    printf("%.2f\n",v);
    return 0;
}