import java.util.Scanner;


class Main {

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

} import java.util.Scanner; Scanner java.util class Main {

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

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


class Main {

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

}