import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	}

} Main public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	} main {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double pi = 3.141592653589; pi 3.141592653589 String area = String.format("%.6f", 1.0*r*r*pi); area String.format("%.6f", 1.0*r*r*pi) String.format String "%.6f" 1.0*r*r*pi r 1.0*r*r*pi 1.0 r r pi String circle = String.format("%.6f", r*2*pi); circle String.format("%.6f", r*2*pi) String.format String "%.6f" r*2*pi r*2*pi r 2 pi System.out.println(area + " " + circle) System.out.println System.out System System.out area + " " + circle area + " " + circle area " " circle String[] args args public class Main {
	public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	}

} public class Main {
	public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		 Scanner sc = new Scanner(System.in);
		 double r = sc.nextDouble();
		 double pi = 3.141592653589;
		 String area = String.format("%.6f", 1.0*r*r*pi);
		 String circle = String.format("%.6f", r*2*pi);
		 System.out.println(area + " " + circle);
	}

}