import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
double r=in.nextDouble();
System.out.printf("%.3f",3.1415927*4/3*Math.pow(r,3.0));
System.out.println();
}
}
}
import java.lang.Math;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()) {
double r=in.nextDouble();
System.out.printf("%.3f",3.1415927*4/3*Math.pow(r,3.0));
System.out.println();
}
}
}