import java.util.Scanner;

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

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