#include <iostream>
#include<cmath>
using namespace std;

int main() {
   int r;
   cin >> r ;
   float v = 4.0/3*3.14*pow(r,3);
   cout << v << endl;
}