import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	}

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

	public static void main(String[] args) {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	}

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

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	} main {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan String S = String.format("%.5f", r*r*Math.PI); S 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 String l = String.format("%.5f", 2*Math.PI*r); l String.format("%.5f", 2*Math.PI*r) String.format String "%.5f" 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r System.out.println(sb.append(S).append(" ").append(l)) System.out.println System.out System System.out sb.append(S).append(" ").append(l) sb.append(S).append(" ").append sb.append(S).append(" ") sb.append(S).append sb.append(S) sb.append sb S " " l String[] args args public class Main {

	public static void main(String[] args) {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	}

} public class Main {

	public static void main(String[] args) {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
	    Scanner scan = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();

		double r = scan.nextDouble();

		String S = String.format("%.5f", r*r*Math.PI);
		String l = String.format("%.5f", 2*Math.PI*r);

		System.out.println(sb.append(S).append(" ").append(l));

	}

}