public class Main {

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	}

} public class Main {

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	}

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	} main {
		// TODO ?????????????????????????????????????????????
		java.util.Scanner sc = new java.util.Scanner(System.in);

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	} java.util.Scanner sc = new java.util.Scanner(System.in); sc new java.util.Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double mennseki = r * r * Math.PI; mennseki r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double ennshuu = 2 * r * Math.PI; ennshuu 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%f %f\n", mennseki, ennshuu) System.out.printf System.out System System.out "%f %f\n" mennseki ennshuu String[] args args public class Main {

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	}

} public class Main {

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	}

} Main
public class Main {

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

		double r = sc.nextDouble();

		double mennseki = r * r * Math.PI;
		double ennshuu = 2 * r * Math.PI;

		System.out.printf("%f %f\n", mennseki, ennshuu);
	}

}