#include <iostream>

using namespace std;

int main() {
    double r;
    cin >> r;
    printf("%.5lf", 4.0 / 3 * 3.14 * r * r * r);
    return 0;
}