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