// 🐋💭
import Foundation

func readInts() -> [Int] {
    return readLine()!.split(separator: " ").map { Int($0)! }
}

func main() {
    var l = Double(readLine()!)!
    l = l / 3
    print(pow(l, 3))
    
}

main()


