import java.util.Scanner;
import java.lang.Math;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
	}

} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
	}

} Main
import java.util.Scanner;
import java.lang.Math;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
double r=kb.nextDouble();
System.out.printf("%f %f\n",r*r*Math.PI,2*Math.PI*r);
	}

}