
import java.util.Scanner;

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

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

		System.out.printf("%f %f", area, length);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

		System.out.printf("%f %f", area, length);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

		System.out.printf("%f %f", area, length);
	} main {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

		System.out.printf("%f %f", area, length);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double pi = Math.PI; pi Math.PI Math Math.PI double area = pi*r*r; area pi*r*r pi*r*r pi r r double length = 2*pi*r; length 2*pi*r 2*pi*r 2 pi r System.out.printf("%f %f", area, length) System.out.printf System.out System System.out "%f %f" area length String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

		System.out.printf("%f %f", area, length);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

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

import java.util.Scanner;

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

		double r = sc.nextDouble();
		double pi = Math.PI;

		double area = pi*r*r;
		double length = 2*pi*r;

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