import java.util.Scanner;
import java.io.IOException;

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

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