import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} IOException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} String line = reader.readLine(); line reader.readLine() reader.readLine reader double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r)) System.out.printf System.out System System.out "%.6f %.6f\n" (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 reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			double r = Double.parseDouble(line);
			System.out.printf("%.6f %.6f\n", (Math.PI * r * r), (2 * Math.PI * r));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}