fun main(args: Array<String>) = ABC159C.main()

object ABC159C {
    fun readInt() = readLine()!!.toInt()

    fun main() {
        val L = readInt().toDouble()

        val d = L/3
        val v = d*d*d
        println("%f".format(v))
    }
}