#include using namespace std; int main() { double N; cin >> N; const double V = 5 * (3 + sqrt(5)) * pow(N, 3) / 12; cout << setprecision(12) << V << endl; }