
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	}

} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	} main {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) double r = s.nextDouble(); r s.nextDouble() s.nextDouble s double pi = Math.PI; pi Math.PI Math Math.PI System.out.printf("%.5f %.5f",r*r*pi,2*r*pi) System.out.printf System.out System System.out "%.5f %.5f" r*r*pi r*r*pi r r pi 2*r*pi 2*r*pi 2 r pi String[] args args public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	}

} public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		
		double r = s.nextDouble();
		double pi = Math.PI;
		
		System.out.printf("%.5f %.5f",r*r*pi,2*r*pi);
				
	}

}