"use strict";
function main(input) {
  let kari = input[0].trim().split(" ").map(i => parseInt(i));
  const l = kari[0];
  console.log(l/3 * l/3 * l/3);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"));