import java.math.BigDecimal
import java.util.*

fun main(args: Array<String>) {

    var sc = Scanner(System.`in`)

    val l = sc.nextInt()

    var i: Double = l / 3.0

    println(BigDecimal.valueOf(i * i * i).toPlainString())
}