import java.util.Scanner;
public class Main {
    
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double pai = 3.1415926;
        double v = 4 * pai * Math.pow(r,3) / 3;
        System.out.println(String.format("%.3f",v));

    }
}