import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double r = stdIn.nextDouble();
		System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI);
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double r = stdIn.nextDouble();
		System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI);
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double r = stdIn.nextDouble();
		System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI);
	} main {
		Scanner stdIn = new Scanner(System.in);
		double r = stdIn.nextDouble();
		System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI);
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) double r = stdIn.nextDouble(); r stdIn.nextDouble() stdIn.nextDouble stdIn System.out.printf("%.6f %.6f\n",Math.pow(r,2)*Math.PI,2*r*Math.PI) System.out.printf System.out System System.out "%.6f %.6f\n" Math.pow(r,2)*Math.PI Math.pow(r,2) Math.pow Math r 2 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.*;

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