import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", 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 a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", l)));


	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", l)));


	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", l)));


	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double a=r*r*Math.PI; a 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.println((String.format("%.6f", a))+" "+(String.format("%.6f", l))) System.out.println System.out System System.out (String.format("%.6f", a))+" "+(String.format("%.6f", l)) (String.format("%.6f", a))+" "+(String.format("%.6f", l)) (String.format("%.6f", a)) String.format String "%.6f" a " " (String.format("%.6f", l)) String.format String "%.6f" l String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", l)));


	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", 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 a=r*r*Math.PI;
		double l=2*r*Math.PI;
		
		System.out.println((String.format("%.6f", a))+" "+(String.format("%.6f", l)));


	}

}
