import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double x = Math.PI; x Math.PI Math Math.PI double l = 2 * r * x; l 2 * r * x 2 * r * x 2 r x double c = r * r * x; c r * r * x r * r * x r r x String g = String.format("%.6f", l); g String.format("%.6f", l) String.format String "%.6f" l String h = String.format("%.6f", c); h String.format("%.6f", c) String.format String "%.6f" c System.out.println(h+" "+g) System.out.println System.out System System.out h+" "+g h+" "+g h " " g String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();		
		double x = Math.PI;
		double l = 2 * r * x;
		double c = r * r * x;
		String g = String.format("%.6f", l);
		String h = String.format("%.6f", c);
		System.out.println(h+" "+g);
	}
}