#include<bits/stdc++.h> using namespace std; int main(){ double PAI=3.1415926,r,s; cin>>r; s=4*1.0/3*PAI*r*r*r; cout<<fixed<<setprecision(4)<<s<<endl; return 0; }