import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	} main {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double p = 3.141592653589; p 3.141592653589 double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double x = 2*r*p; x 2*r*p 2*r*p 2 r p double y = r*r*p; y r*r*p r*r*p r r p System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x)) System.out.println System.out System System.out String.format("%.6f", y) + " " + String.format("%.6f", x) String.format("%.6f", y) + " " + String.format("%.6f", x) String.format("%.6f", y) String.format String "%.6f" y " " String.format("%.6f", x) String.format String "%.6f" x String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double p = 3.141592653589;
		double r = scan.nextDouble(); //????????§???????????\???
		double x = 2*r*p;
		double y = r*r*p;
		System.out.println(String.format("%.6f", y) + " " + String.format("%.6f", x));
	}
}