import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	}

	public static double input() {

		return scanner.nextDouble();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

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

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	}

	public static double input() {

		return scanner.nextDouble();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

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

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	} main {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	} double r = input(); r input() input System.out.print(String.format("%.5f", r * r * Math.PI)) System.out.print System.out System System.out String.format("%.5f", r * r * Math.PI) String.format String "%.5f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI System.out.print(" ") System.out.print System.out System System.out " " System.out.print(String.format("%.5f", 2.0 * r * Math.PI)) System.out.print System.out System System.out String.format("%.5f", 2.0 * r * Math.PI) String.format String "%.5f" 2.0 * r * Math.PI 2.0 * r * Math.PI 2.0 r Math.PI Math Math.PI close() close String[] args args public static double input() {

		return scanner.nextDouble();

	} input {

		return scanner.nextDouble();

	} return scanner.nextDouble(); scanner.nextDouble() scanner.nextDouble scanner public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	} close {

		if (scanner != null) {

			scanner.close();

		}
	} if (scanner != null) {

			scanner.close();

		} scanner != null scanner null {

			scanner.close();

		} scanner.close() scanner.close scanner public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	}

	public static double input() {

		return scanner.nextDouble();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	}

	public static double input() {

		return scanner.nextDouble();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) {

		double r = input();

		System.out.print(String.format("%.5f", r * r * Math.PI));
		System.out.print(" ");
		System.out.print(String.format("%.5f", 2.0 * r * Math.PI));

		close();

	}

	public static double input() {

		return scanner.nextDouble();

	}

	public static void close() {

		if (scanner != null) {

			scanner.close();

		}
	}
}