import java.util.Scanner;

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

public class Main {
	public static void main(String [] args){
		Scanner scan = new Scanner(System.in);
		
		double r = scan.nextDouble();
		double s=0.0, l=0.0;
		
		s = r * r * Math.PI;
		l = 2 * Math.PI * r;
		
		System.out.println(String.format("%5f", s)+" "+String.format("%5f", l));	
	}
}