import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	}
} 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 p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double p = 3.141592653589; p 3.141592653589 double s = 1.00000 * p * r * r; s 1.00000 * p * r * r r 1.00000 * p * r * r 1.00000 p r r double l = 1.00000 * 2 * p * r; l 1.00000 * 2 * p * r p 1.00000 * 2 * p * r 1.00000 2 p r System.out.print(String.format("%6f", s) + " ") System.out.print System.out System System.out String.format("%6f", s) + " " String.format("%6f", s) String.format String "%6f" s " " System.out.println(String.format("%6f", l)) System.out.println System.out System System.out String.format("%6f", l) String.format String "%6f" l String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	}
} 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 p = 3.141592653589;
		double s = 1.00000 * p * r * r;
		double l = 1.00000 * 2 * p * r;
		System.out.print(String.format("%6f", s) + " ");
		System.out.println(String.format("%6f", l));
	}
}
