import java.lang.Math

fun main(args: Array<String>) {
    val l = readLine()?.orEmpty()
    val sumL = l?.toInt()

    val edge = sumL?.div(3.0)

    val result = edge?.let { Math.pow(it, 3.0) }

    println("%.6f".format(result))
}