import java.util.Scanner;

public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main void run(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	} run {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	} 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 double area area circ; circ area = r * r * pi area r * r * pi r * r * pi r r pi circ = 2 * pi * r circ 2 * pi * r 2 * pi * r 2 pi r System.out.printf("%f %f", area, circ) System.out.printf System.out System System.out "%f %f" area circ public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} main {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} public class Main {
	void run(){
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double pi = Math.PI;
		double area, circ;
		area = r * r * pi;
		circ = 2 * pi * r;
		System.out.printf("%f %f", area, circ);
	}
	public static void main(String[] args) {
		/* 
		 * Main x;
		 * x = new Main();
		 * x.run();
		 * ??¨????????????
		 */
		new Main().run();
		
	}
} Main
import java.util.Scanner;

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