import java.util.Scanner;
class Main{
    public static void main(String[] args){
        
        double x = Math.PI;
        
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
    }
}
 import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        
        double x = Math.PI;
        
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
    }
} Main public static void main(String[] args){
        
        double x = Math.PI;
        
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
    } main {
        
        double x = Math.PI;
        
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
    } double x = Math.PI; x Math.PI Math Math.PI Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x)) System.out.println System.out System System.out String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x) String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x) String.format("%.6f",r*r*x) String.format String "%.6f" r*r*x r*r*x r r x " " String.format("%.6f",2*r*x) String.format String "%.6f" 2*r*x 2*r*x 2 r x String[] args args
import java.util.Scanner;
class Main{
    public static void main(String[] args){
        
        double x = Math.PI;
        
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        System.out.println(String.format("%.6f",r*r*x) + " "+ String.format("%.6f",2*r*x));
    }
}

