import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI)) System.out.println System.out System System.out String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI) String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI) String.format("%.8f", r * r * Math.PI) String.format String "%.8f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI " " String.format("%.8f", 2 * r * Math.PI) String.format String "%.8f" 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI scan.close() scan.close scan String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);;
		double r = scan.nextDouble();

		System.out.println(String.format("%.8f", r * r * Math.PI) + " " + String.format("%.8f", 2 * r * Math.PI));
		scan.close();
	}
}
