#include <bits/stdc++.h>
using namespace std;
int main(){
    double L;
    cin >> L;
    double te = L / 3;
    printf("%.10lf\n", te * te * sqrt(3) / 2 / 2);
}