import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		String input = br.readLine();
		double r = Double.parseDouble(input);

		double s = r * r * Math.PI;
		double l = r * 2 * Math.PI;

//		System.out.printf("%.6f", "%.6f", s, l);

		String ansS = String.format("%.6f", s);
		String ansL = String.format("%.6f", l);

		System.out.println(ansS + " " + ansL);
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		String input = br.readLine();
		double r = Double.parseDouble(input);

		double s = r * r * Math.PI;
		double l = r * 2 * Math.PI;

//		System.out.printf("%.6f", "%.6f", s, l);

		String ansS = String.format("%.6f", s);
		String ansL = String.format("%.6f", l);

		System.out.println(ansS + " " + ansL);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		String input = br.readLine();
		double r = Double.parseDouble(input);

		double s = r * r * Math.PI;
		double l = r * 2 * Math.PI;

//		System.out.printf("%.6f", "%.6f", s, l);

		String ansS = String.format("%.6f", s);
		String ansL = String.format("%.6f", l);

		System.out.println(ansS + " " + ansL);
	} main {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		String input = br.readLine();
		double r = Double.parseDouble(input);

		double s = r * r * Math.PI;
		double l = r * 2 * Math.PI;

//		System.out.printf("%.6f", "%.6f", s, l);

		String ansS = String.format("%.6f", s);
		String ansL = String.format("%.6f", l);

		System.out.println(ansS + " " + ansL);
	} BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String input = br.readLine(); input br.readLine() br.readLine br double r = Double.parseDouble(input); r Double.parseDouble(input) Double.parseDouble Double input double s = r * r * Math.PI; s r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double l = r * 2 * Math.PI; l r * 2 * Math.PI r * 2 * Math.PI r 2 Math.PI Math Math.PI String ansS = String.format("%.6f", s); ansS String.format("%.6f", s) String.format String "%.6f" s String ansL = String.format("%.6f", l); ansL String.format("%.6f", l) String.format String "%.6f" l System.out.println(ansS + " " + ansL) System.out.println System.out System System.out ansS + " " + ansL ansS + " " + ansL ansS " " ansL String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));

		String input = br.readLine();
		double r = Double.parseDouble(input);

		double s = r * r * Math.PI;
		double l = r * 2 * Math.PI;

//		System.out.printf("%.6f", "%.6f", s, l);

		String ansS = String.format("%.6f", s);
		String ansL = String.format("%.6f", l);

		System.out.println(ansS + " " + ansL);
	}
}