import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String str = reader.readLine(); str reader.readLine() reader.readLine reader double r = Double.parseDouble(str); r Double.parseDouble(str) Double.parseDouble Double str String S = String.format("%.5f", r * r * Math.PI); S String.format("%.5f", r * r * Math.PI) String.format String "%.5f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI String C = String.format("%.5f", 2 * r * Math.PI); C String.format("%.5f", 2 * r * Math.PI) String.format String "%.5f" 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.println(S + " " + C) System.out.println System.out System System.out S + " " + C S + " " + C S " " C String[] args args public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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

			String str = reader.readLine();
			double r = Double.parseDouble(str);
			String S = String.format("%.5f", r * r * Math.PI);
			String C = String.format("%.5f", 2 * r * Math.PI);
			System.out.println(S + " " + C);
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}