import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
double a, V, S;
Scanner in
= new Scanner
(System.
in); a = in.nextDouble();
V = a*a*a;
S = 6*a*a;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJZG91YmxlIGEsIFYsIFM7CgkJIFNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWEgPSBpbi5uZXh0RG91YmxlKCk7CgkJViA9IGEqYSphOwoJCVMgPSA2KmEqYTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oVik7CgkJU3lzdGVtLm91dC5wcmludGxuKFMpOwoJfQp9