import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util import java.util.StringTokenizer; StringTokenizer java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) double x=scan.nextDouble(); x scan.nextDouble() scan.nextDouble scan System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x)) System.out.printf System.out System System.out "%.6f %.6f" (Math.PI*x*x) Math.PI*x*x Math.PI Math Math.PI x x (2*Math.PI*x) 2*Math.PI*x 2 Math.PI Math Math.PI x System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	}

} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		double x=scan.nextDouble();
		System.out.printf("%.6f %.6f",(Math.PI*x*x),(2*Math.PI*x));
		System.out.println();

	}

}