import java.util.Scanner;

public class Main {
	public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	}
} Main public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	} main {
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	} double P = Math.PI; P Math.PI Math Math.PI Scanner sb = new Scanner(System.in); sb new Scanner(System.in) double r = sb.nextDouble(); r sb.nextDouble() sb.nextDouble sb double s = r*r*P; s r*r*P r*r*P r r P double l = 2*r*P; l 2*r*P 2*r*P 2 r P String S = String.format("%.6f",s); S String.format("%.6f",s) String.format String "%.6f" s String L = String.format("%.6f", l); L String.format("%.6f", l) String.format String "%.6f" l System.out.println( S + " " + L) System.out.println System.out System System.out S + " " + L S + " " + L S " " L String[] age age public class Main {
	public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	}
} public class Main {
	public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] age){
		double P = Math.PI;
		Scanner sb = new Scanner(System.in);
		double r = sb.nextDouble();
		double s = r*r*P;
		double l = 2*r*P;
		String S = String.format("%.6f",s);
		String L = String.format("%.6f", l);
		System.out.println( S + " " + L);
	}
}