import java.util.Scanner;

public 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 L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	}
} import java.util.Scanner; Scanner java.util public 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 L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double S = r * r * Math.PI;
		double L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double S = r * r * Math.PI;
		double L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	} 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 L = 2 * r * Math.PI; L 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%f %f",S,L) System.out.printf System.out System System.out "%f %f" S L String[] args args public 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 L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	}
} public 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 L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	}
} Main
import java.util.Scanner;

public 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 L = 2 * r * Math.PI;
		
		System.out.printf("%f %f",S,L);
	}
}