const input = require("fs").readFileSync("/dev/stdin", "utf8")

;(input => {

    const lines = input.split('\n')
    const L = lines[0] - 0

    const e = L / 3

    console.log(e * e * e)

})(input)