#include #include using namespace std; double n; int main() { cin >> n; cout << setprecision(30) << n * n * n * (15 + 5 * sqrt(5)) / 12 << endl; }