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