#include <bits/stdc++.h>

using namespace std;

using int64 = long long;

const double PI = acos(-1);

int main() {
  double A, B;
  cin >> A >> B;
  cout << fixed << setprecision(10) << PI / 3 * B * B * B * 4 << endl;
}


