import java.util.Scanner;

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

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