#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
const double PI = acos(-1);

int main(){
    double a,b;
    cin >> a >> b;
    cout << fixed << setprecision(7);
    cout << PI*b*b*b*4/3 << endl;
    return 0;
}

