"use strict";

const main = arg => {
    const input = arg.trim().split("\n");

    const L = parseFloat(input[0]);
    const vol = L*L*L/27.0
    console.log(vol)
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));  