import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.math.RoundingMode;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        }
   
    }
} import java.util.*; util.* java import java.io.*; io.* java import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        }
   
    }
} Main public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        }
   
    } main {
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        }
   
    } try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        } {
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) double input = Double.parseDouble(br.readLine()); input Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br BigDecimal num = new BigDecimal(input); num new BigDecimal(input) BigDecimal three = new BigDecimal(3); three new BigDecimal(3) BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP); x num.divide(three, 6, RoundingMode.HALF_UP) num.divide num three 6 RoundingMode.HALF_UP RoundingMode RoundingMode.HALF_UP BigDecimal answer = x.multiply(x).multiply(x); answer x.multiply(x).multiply(x) x.multiply(x).multiply x.multiply(x) x.multiply x x x double result = answer.doubleValue(); result answer.doubleValue() answer.doubleValue answer System.out.println(result) System.out.println System.out System System.out result String args[] args
import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.math.RoundingMode;

class Main{
    public static void main(String args[])throws IOException{
        try(BufferedReader br = new BufferedReader(new InputStreamReader(System.in))){
            double input = Double.parseDouble(br.readLine());

            BigDecimal num = new BigDecimal(input);
            BigDecimal three = new BigDecimal(3);
            BigDecimal x = num.divide(three, 6, RoundingMode.HALF_UP);
            BigDecimal answer = x.multiply(x).multiply(x);

            double result = answer.doubleValue();

            System.out.println(result);
        }
   
    }
}