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

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} 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 class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} catch (IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} catch (IOException e) {
			e.printStackTrace();
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

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

class Main {
	public static void main(String[] args) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);
		try {
			String input = br.readLine();
			double r = Double.parseDouble(input);
			double men = r * r * Math.PI;
			double en = 2 * r * Math.PI;
			System.out.println(String.format("%.6f", men) + " " + String.format("%.6f", en));

		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}