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 l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	}
}
 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 l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	}
} Main public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		double r = stdIn.nextDouble();
		
		double s = r * r * Math.PI;
		double l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	} main {
		
		Scanner stdIn = new Scanner(System.in);

		double r = stdIn.nextDouble();
		
		double s = r * r * Math.PI;
		double l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	} 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 l = 2 * r * Math.PI; l 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%.10f %.10f\n", s, l) System.out.printf System.out System System.out "%.10f %.10f\n" s l 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 l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	}
} 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 l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	}
} 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 l = 2 * r * Math.PI;
		System.out.printf("%.10f %.10f\n", s, l);
	}
}

