import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

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

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	} main {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = Double.parseDouble(scan.next()); r Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double area = r * r * Math.PI; area r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double length = 2 * r * Math.PI; length 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%.6f %.6f",  area, length) System.out.printf System.out System System.out "%.6f %.6f" area length String[] args args public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	}
} public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

//		?????? r ???????????¢?????¨?????¨?????????????±???????????????°?????????????????????????????????

		double r = Double.parseDouble(scan.next());

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf("%.6f %.6f",  area, length);

	}
}