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

public class Main {

	public static void main(String[] args) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	}

} 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) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	}

} Main public static void main(String[] args) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	} main {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	} double numR = 0.0; numR 0.0 double circle = 0.0; circle 0.0 double area = 0.0; area 0.0 try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		} catch (NumberFormatException e) {
			System.out.println(e);
		} NumberFormatException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out 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 {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		} 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 numR = Double.parseDouble(Input) numR Double.parseDouble(Input) Double.parseDouble Double Input area = Math.PI * (numR * numR) area Math.PI * (numR * numR) Math.PI Math Math.PI (numR * numR) numR numR circle = Math.PI * (2 * numR) circle Math.PI * (2 * numR) Math.PI Math Math.PI (2 * numR) 2 numR System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle)) System.out.println System.out System System.out String.format("%.6f", area) + " " + String.format("%.6f", circle) String.format("%.6f", area) + " " + String.format("%.6f", circle) String.format("%.6f", area) String.format String "%.6f" area " " String.format("%.6f", circle) String.format String "%.6f" circle String[] args args public class Main {

	public static void main(String[] args) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	}

} public class Main {

	public static void main(String[] args) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	}

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

public class Main {

	public static void main(String[] args) {

		double numR = 0.0;

		//?§£????????°
		double circle = 0.0;
		double area = 0.0;
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String Input = br.readLine();

			numR = Double.parseDouble(Input);
			area = Math.PI * (numR * numR);
			circle = Math.PI * (2 * numR);
			System.out.println(String.format("%.6f", area) + " " + String.format("%.6f", circle));

		}catch (NumberFormatException e) {
			System.out.println(e);
		} catch (IOException e) {
			System.out.println(e);
		}
	}

}