import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} Main public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	} main {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) String line; line try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} line = buf.readLine() line buf.readLine() buf.readLine buf double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r) System.out.printf System.out System System.out "%.6f %.6f" Math.PI*r*r Math.PI*r*r Math.PI Math Math.PI r r 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String line;
		try {
			line = buf.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		} catch (IOException e) {
			System.out.println(e);
		}
	}
}