import java.util.Scanner;

class Main{
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		
		double PI = 3.141592653589;
		double r = sc.nextDouble();


		double area = PI * r * r;
		double len = 2.0 * PI * r; 

		System.out.println(String.format("%5f", area));
		System.out.println(String.format("%5f", len));
		

	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		
		double PI = 3.141592653589;
		double r = sc.nextDouble();


		double area = PI * r * r;
		double len = 2.0 * PI * r; 

		System.out.println(String.format("%5f", area));
		System.out.println(String.format("%5f", len));
		

	}
} Main public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		
		double PI = 3.141592653589;
		double r = sc.nextDouble();


		double area = PI * r * r;
		double len = 2.0 * PI * r; 

		System.out.println(String.format("%5f", area));
		System.out.println(String.format("%5f", len));
		

	} main {

		Scanner sc = new Scanner(System.in);
		
		double PI = 3.141592653589;
		double r = sc.nextDouble();


		double area = PI * r * r;
		double len = 2.0 * PI * r; 

		System.out.println(String.format("%5f", area));
		System.out.println(String.format("%5f", len));
		

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double PI = 3.141592653589; PI 3.141592653589 double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double area = PI * r * r; area PI * r * r PI * r * r PI r r double len = 2.0 * PI * r; len 2.0 * PI * r 2.0 * PI * r 2.0 PI r System.out.println(String.format("%5f", area)) System.out.println System.out System System.out String.format("%5f", area) String.format String "%5f" area System.out.println(String.format("%5f", len)) System.out.println System.out System System.out String.format("%5f", len) String.format String "%5f" len String[] args args
import java.util.Scanner;

class Main{
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		
		double PI = 3.141592653589;
		double r = sc.nextDouble();


		double area = PI * r * r;
		double len = 2.0 * PI * r; 

		System.out.println(String.format("%5f", area));
		System.out.println(String.format("%5f", len));
		

	}
}
