import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line double pi = Math.PI; pi Math.PI Math Math.PI double menseki = r * r * pi; menseki r * r * pi r * r * pi r r pi double enshuu = 2 * r * pi; enshuu 2 * r * pi 2 * r * pi 2 r pi System.out.printf("%.8f", menseki) System.out.printf System.out System System.out "%.8f" menseki System.out.print(" ") System.out.print System.out System System.out " " System.out.printf("%.8f", enshuu) System.out.printf System.out System System.out "%.8f" enshuu String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.parseDouble(line);
		double pi = Math.PI;
		double menseki = r * r * pi;
		double enshuu = 2 * r * pi;
		System.out.printf("%.8f", menseki);
		System.out.print(" ");
		System.out.printf("%.8f", enshuu);
	}

}