#include <bits/stdc++.h>
using namespace std;

int main(int argc, char const *argv[])
{
	int n, m;
	cin >> n >> m;
	int r=max(n,m);
	double ans=(double)4*M_PI*r*r*r/3;
	printf("%.10lf", ans);
	return 0;
}
