#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double r,V,pi=3.1415927;
while(cin>>r)
{
V=4.0/3*pi*r*r*r;
cout<<setiosflags(ios::fixed)<<setprecision(3)<<V<<endl;
}
return 0;
}
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double r,V,pi=3.1415927;
while(cin>>r)
{
V=4.0/3*pi*r*r*r;
cout<<setiosflags(ios::fixed)<<setprecision(3)<<V<<endl;
}
return 0;
}