import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double a = r*r*Math.PI;
		String c = String.format("%.6f",a);
		double b = r*2*Math.PI;
		String d = String.format("%.6f",b);
		
		System.out.println(c+" "+d);
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double a = r*r*Math.PI;
		String c = String.format("%.6f",a);
		double b = r*2*Math.PI;
		String d = String.format("%.6f",b);
		
		System.out.println(c+" "+d);
	}
} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double a = r*r*Math.PI;
		String c = String.format("%.6f",a);
		double b = r*2*Math.PI;
		String d = String.format("%.6f",b);
		
		System.out.println(c+" "+d);
	} main {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double a = r*r*Math.PI;
		String c = String.format("%.6f",a);
		double b = r*2*Math.PI;
		String d = String.format("%.6f",b);
		
		System.out.println(c+" "+d);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) double r = s.nextDouble(); r s.nextDouble() s.nextDouble s double a = r*r*Math.PI; a r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI String c = String.format("%.6f",a); c String.format("%.6f",a) String.format String "%.6f" a double b = r*2*Math.PI; b r*2*Math.PI r*2*Math.PI r 2 Math.PI Math Math.PI String d = String.format("%.6f",b); d String.format("%.6f",b) String.format String "%.6f" b System.out.println(c+" "+d) System.out.println System.out System System.out c+" "+d c+" "+d c " " d String[] args args
import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		double a = r*r*Math.PI;
		String c = String.format("%.6f",a);
		double b = r*2*Math.PI;
		String d = String.format("%.6f",b);
		
		System.out.println(c+" "+d);
	}
}