import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	} main {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	} Scanner sc = new Scanner( System.in ); sc new Scanner( System.in ) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double PI		= 3.14159265359; PI 3.14159265359 double area		= r * r * PI; area r * r * PI r * r * PI r r PI double circle	= 2 * PI * r; circle 2 * PI * r 2 * PI * r 2 PI r System.out.printf("%.6f %.6f", area, circle) System.out.printf System.out System System.out "%.6f %.6f" area circle String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner( System.in );
		double r = sc.nextDouble();
		
		double PI		= 3.14159265359;
		
		double area		= r * r * PI;
		double circle	= 2 * PI * r;
		
		System.out.printf("%.6f %.6f", area, circle);
	}
}