import java.util.Arrays;
import java.util.Scanner;


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	}
	
} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	}
	
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r) System.out.printf System.out System System.out "%.7f %.7f\n" Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r String args[] args public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	}
	
} public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	}
	
} Main
import java.util.Arrays;
import java.util.Scanner;


public class Main {
	
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		
		final double r = sc.nextDouble();
		
		System.out.printf("%.7f %.7f\n", Math.PI * r * r, 2 * Math.PI * r);
		
	}
	
}