#include using namespace std; int main() { double n; cin >> n; cout << fixed << setprecision(20) << 5.*(3.+sqrt(5))/12.*pow(n, 3) << endl; return 0; }