#include double sqrt(double x) { double min, mid, max; min = 0; max = 1; while (max * max < x) max *= 2; int i; for (i = 0; i < 100; i++) { mid = (max + min) / 2; if (mid * mid < x) min = mid; else max = mid; } return max; } int main() { double n; scanf("%lf", &n); printf("%.20lf\n", (15.0 + 5.0 * sqrt(5.0)) * n * n * n / 12.0); return 0; }