import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	} main {
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String r = scan.nextLine(); r scan.nextLine() scan.nextLine scan double rr = Double.parseDouble(r); rr Double.parseDouble(r) Double.parseDouble Double r double x = Math.PI; x Math.PI Math Math.PI double area = rr * rr * x; area rr * rr * x rr * rr * x rr rr x double len = 2 * rr * x; len 2 * rr * x 2 * rr * x 2 rr x System.out.printf("%f %f\n", area, len) System.out.printf System.out System System.out "%f %f\n" area len String[] args args public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	}
} Main
import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String r = scan.nextLine();
		double rr = Double.parseDouble(r);
		double x = Math.PI;
		double area = rr * rr * x;
		double len = 2 * rr * x;
		System.out.printf("%f %f\n", area, len);
		
	}
}