import java.util.Scanner;

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

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