import java.io.IOException;
import java.util.Scanner;
public class Main {

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

} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {

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

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

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

} public class Main {

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

} Main
import java.io.IOException;
import java.util.Scanner;
public class Main {

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

}