import java.util.Scanner;

public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main void run() {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	} run {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r) System.out.printf System.out System System.out "%f %f\n" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r public static void main(String[] args) {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} public class Main {
	void run() {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		System.out.printf("%f %f\n", r*r*Math.PI, 2*Math.PI*r);
	}
	public static void main(String[] args) {
		new Main().run();
	}
} Main
import java.util.Scanner;

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