import java.util.*;
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	}
} Main public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	} main {
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final double pie =  3.141592653589; pie 3.141592653589 Double d = sc.nextDouble(); d sc.nextDouble() sc.nextDouble sc System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie)) System.out.println System.out System System.out String.format("%.6f %.6f",d*d*pie ,2*d*pie) String.format String "%.6f %.6f" d*d*pie d*d*pie d d pie 2*d*pie 2*d*pie 2 d pie String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		final double pie =  3.141592653589;
		Double d = sc.nextDouble();
		System.out.println(String.format("%.6f %.6f",d*d*pie ,2*d*pie));
	}
}