#include <bits/stdc++.h> using namespace std; int main() { int r; cin>>r; printf ("%.5lf",(4/3)*3.14*(r*r*r)); return 0; }