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

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line double ensyu = 2 * r * Math.PI; ensyu 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI double menseki = r * r * Math.PI; menseki r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu))) System.out.println System.out System System.out String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)) String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)) String.format("%.6f", menseki) String.format String "%.6f" menseki " " (String.format("%.6f", ensyu)) String.format String "%.6f" ensyu String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		double r = Double.parseDouble(line);

		double ensyu = 2 * r * Math.PI;
		double menseki = r * r * Math.PI;
		// TODO ?????????????????????????????????????????????
		System.out.println(String.format("%.6f", menseki) + " "
				+ (String.format("%.6f", ensyu)));
	}
}