import java.util.Scanner;

class Main{
     public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	double r = scan.nextDouble();
    	double pi = 3.141592653589;
    	
    	System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi));
    	
     }
} import java.util.Scanner; Scanner java.util class Main{
     public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	double r = scan.nextDouble();
    	double pi = 3.141592653589;
    	
    	System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi));
    	
     }
} Main public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	double r = scan.nextDouble();
    	double pi = 3.141592653589;
    	
    	System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi));
    	
     } main {
    	Scanner scan = new Scanner(System.in);
    	double r = scan.nextDouble();
    	double pi = 3.141592653589;
    	
    	System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi));
    	
     } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double pi = 3.141592653589; pi 3.141592653589 System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi)) System.out.println System.out System System.out String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi) String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi) String.format("%.8f", r*r*pi) String.format String "%.8f" r*r*pi r*r*pi r r pi " " String.format("%.8f", 2.0*r*pi) String.format String "%.8f" 2.0*r*pi 2.0*r*pi 2.0 r pi String[] args args
import java.util.Scanner;

class Main{
     public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
    	double r = scan.nextDouble();
    	double pi = 3.141592653589;
    	
    	System.out.println(String.format("%.8f", r*r*pi) + " " + String.format("%.8f", 2.0*r*pi));
    	
     }
}