import java.math.BigDecimal
import java.math.RoundingMode

fun main(args: Array<String>) {
    val l = readLine()!!.toLong()
    val a = BigDecimal.valueOf(l).divide(BigDecimal.valueOf(3), 6, RoundingMode.HALF_UP).pow(3)
    println(a.toPlainString())
}