import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	} main {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	} double r; r Scanner sc = new Scanner(System.in); sc new Scanner(System.in) r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc double l = 2 * r * Math.PI; l 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI double s = r * r * Math.PI; s r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI System.out.printf("%f %f",s,l) System.out.printf System.out System System.out "%f %f" s l sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		double r;
		Scanner sc = new Scanner(System.in);

		r = sc.nextDouble();

		double l = 2 * r * Math.PI;
		double s = r * r * Math.PI;
		System.out.printf("%f %f",s,l);

		sc.close();
	}

}