import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	double r=sc.nextDouble();
	double seki=r*r*3.1415926535897932;
	double syu=r*2*3.1415926535897932;
	System.out.printf("%.6f %.6f", seki,syu );
	System.out.println();
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
} import java.util.*; util.* java class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	double r=sc.nextDouble();
	double seki=r*r*3.1415926535897932;
	double syu=r*2*3.1415926535897932;
	System.out.printf("%.6f %.6f", seki,syu );
	System.out.println();
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
} Main Scanner sc=new Scanner(System.in); sc new Scanner(System.in) void main(){
	double r=sc.nextDouble();
	double seki=r*r*3.1415926535897932;
	double syu=r*2*3.1415926535897932;
	System.out.printf("%.6f %.6f", seki,syu );
	System.out.println();
	
    } main {
	double r=sc.nextDouble();
	double seki=r*r*3.1415926535897932;
	double syu=r*2*3.1415926535897932;
	System.out.printf("%.6f %.6f", seki,syu );
	System.out.println();
	
    } double r=sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double seki=r*r*3.1415926535897932; seki r*r*3.1415926535897932 r*r*3.1415926535897932 r r 3.1415926535897932 double syu=r*2*3.1415926535897932; syu r*2*3.1415926535897932 r*2*3.1415926535897932 r 2 3.1415926535897932 System.out.printf("%.6f %.6f", seki,syu ) System.out.printf System.out System System.out "%.6f %.6f" seki syu System.out.println() System.out.println System.out System System.out public static void main(String[]ag){
	new Main().main();
    } main {
	new Main().main();
    } new Main().main() new Main().main new Main() String[]ag ag
import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	double r=sc.nextDouble();
	double seki=r*r*3.1415926535897932;
	double syu=r*2*3.1415926535897932;
	System.out.printf("%.6f %.6f", seki,syu );
	System.out.println();
	
    }
    public static void main(String[]ag){
	new Main().main();
    }
}