import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	} main {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) scanner.hasNext() scanner.hasNext scanner double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner double circle = r * r * Math.PI; circle r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double ans2 = 2 * Math.PI * r; ans2 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r String circleAreaAns = String.format("%.6f", circle); circleAreaAns String.format("%.6f", circle) String.format String "%.6f" circle String lengthCircumference = String.format("%.6f", ans2); lengthCircumference String.format("%.6f", ans2) String.format String "%.6f" ans2 System.out.print(circleAreaAns + " ") System.out.print System.out System System.out circleAreaAns + " " circleAreaAns " " System.out.println(lengthCircumference) System.out.println System.out System System.out lengthCircumference String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	}
} public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		scanner.hasNext();

		double r = scanner.nextDouble();

		double circle = r * r * Math.PI;

		double ans2 = 2 * Math.PI * r;

		String circleAreaAns = String.format("%.6f", circle);

		String lengthCircumference = String.format("%.6f", ans2);

		System.out.print(circleAreaAns + " ");

		System.out.println(lengthCircumference);

	}
}