public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		}
} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		}
} Main public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		} java.util.Scanner scan = new java.util.Scanner(System.in); scan new java.util.Scanner(System.in) double i i r r s; s i = scan.nextDouble() i scan.nextDouble() scan.nextDouble scan if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		} 0<i && i < Math.pow(10, 4) 0<i 0 i i < Math.pow(10, 4) i Math.pow(10, 4) Math.pow Math 10 4 {
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		} r = i*i*Math.PI r i*i*Math.PI i*i*Math.PI i i Math.PI Math Math.PI System.out.print(String.format("%.6f",r)) System.out.print System.out System System.out String.format("%.6f",r) String.format String "%.6f" r System.out.print(" ") System.out.print System.out System System.out " " s = i*2*Math.PI s i*2*Math.PI i*2*Math.PI i 2 Math.PI Math Math.PI System.out.println(String.format("%.6f",s)) System.out.println System.out System System.out String.format("%.6f",s) String.format String "%.6f" s String[] args args public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		}
} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		}
} Main
public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		double i, r, s;
		i = scan.nextDouble();

		if(0<i && i < Math.pow(10, 4)){
			
			r = i*i*Math.PI;
			System.out.print(String.format("%.6f",r));
			System.out.print(" ");
			s = i*2*Math.PI;
			System.out.println(String.format("%.6f",s));

		}


		}
}