import java.util.Scanner;


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


public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r=sc.nextDouble();
		 
		//????????????
		System.out.printf("%.6f %.6f",(r*r*3.141592653589),(r*2*3.141592653589));
	}
}