import java.util.Scanner;

public class Main {

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	}

} import java.util.Scanner; Scanner java.util public class Main {

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	}

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	} main {
		double pi = 3.141592653589;
		double r;
		Scanner scan = new Scanner(System.in);
		r = scan.nextDouble();

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	} double pi = 3.141592653589; pi 3.141592653589 double r; r Scanner scan = new Scanner(System.in); scan new Scanner(System.in) r = scan.nextDouble() r scan.nextDouble() scan.nextDouble scan System.out.printf("%6f %6f",(pi*r*r),(2*pi*r)) System.out.printf System.out System System.out "%6f %6f" (pi*r*r) pi*r*r pi r r (2*pi*r) 2*pi*r 2 pi r String[] args args public class Main {

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	}

} public class Main {

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	}

} Main
import java.util.Scanner;

public class Main {

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

		System.out.printf("%6f %6f",(pi*r*r),(2*pi*r));

	}

}