import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    } main {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String l = scanner.nextLine(); l scanner.nextLine() scanner.nextLine scanner BigDecimal d = new BigDecimal(l); d new BigDecimal(l) BigDecimal a = new BigDecimal("3.0"); a new BigDecimal("3.0") BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN); r d.divide(a, 10, RoundingMode.HALF_EVEN) d.divide d a 10 RoundingMode.HALF_EVEN RoundingMode RoundingMode.HALF_EVEN BigDecimal result = r.pow(3); result r.pow(3) r.pow r 3 System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String l = scanner.nextLine();
        BigDecimal d = new BigDecimal(l);
        BigDecimal a = new BigDecimal("3.0");
        BigDecimal r = d.divide(a, 10, RoundingMode.HALF_EVEN);
        BigDecimal result = r.pow(3);
        System.out.println(result);
    }
}