import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	}
} Main public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) double r = Double.parseDouble(br.readLine()); r Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br double x = Math.PI * r * r; x Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r double y = 2 * Math.PI * r; y 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r String men = String.format("%.6f", x); men String.format("%.6f", x) String.format String "%.6f" x String en = String.format("%.6f", y); en String.format("%.6f", y) String.format String "%.6f" y System.out.println(men + " " + en) System.out.println System.out System System.out men + " " + en men + " " + en men " " en br.close() br.close br String[] args args public class Main {
	public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	}
} public class Main {
	public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	}
} Main
import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException, NumberFormatException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		//計算
		double x = Math.PI * r * r;//面積
		double y = 2 * Math.PI * r;//円周
		String men = String.format("%.6f", x);
		String en = String.format("%.6f", y);
		System.out.println(men + " " + en);
		br.close();
	}
}