import java.util.Scanner;
class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		
		double r1 = r * r * p;
		double r2 = r * 2 * p;
		
		System.out.printf("%8.6f %8.6f \n", r1 , r2);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} import java.util.Scanner; Scanner java.util class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		
		double r1 = r * r * p;
		double r2 = r * 2 * p;
		
		System.out.printf("%8.6f %8.6f \n", r1 , r2);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} Main public void kami() {
        		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		
		double r1 = r * r * p;
		double r2 = r * 2 * p;
		
		System.out.printf("%8.6f %8.6f \n", r1 , r2);

    } kami {
        		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		
		double r1 = r * r * p;
		double r2 = r * 2 * p;
		
		System.out.printf("%8.6f %8.6f \n", r1 , r2);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double p = 3.141592653589; p 3.141592653589 double r1 = r * r * p; r1 r * r * p r * r * p r r p double r2 = r * 2 * p; r2 r * 2 * p r * 2 * p r 2 p System.out.printf("%8.6f %8.6f \n", r1 , r2) System.out.printf System.out System System.out "%8.6f %8.6f \n" r1 r2 public static void main(String[] args) {
    new Main().kami();
	} main {
    new Main().kami();
	} new Main().kami() new Main().kami new Main() String[] args args
import java.util.Scanner;
class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		
		double r1 = r * r * p;
		double r2 = r * 2 * p;
		
		System.out.printf("%8.6f %8.6f \n", r1 , r2);

    }
	public static void main(String[] args) {
    new Main().kami();
	}

}