import java.util.Scanner;

fun main (args : Array<String>) {
  val input = Scanner(System.`in`)
  
  while (input.hasNext()) {
    val L = input.nextDouble();
    val side = L / 3;
    
    println(String.format("%.9f", side * side * side));
  }
}