import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		double r, l, s;
		
		r = sc.nextDouble();
		
		l = 2 * r * Math.PI;
		s = r * r * Math.PI;
		
		System.out.printf("%.5f %.5f\n", s, l);
	}
} import java.util.*; util.* java class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		double r, l, s;
		
		r = sc.nextDouble();
		
		l = 2 * r * Math.PI;
		s = r * r * Math.PI;
		
		System.out.printf("%.5f %.5f\n", s, l);
	}
} Main public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		double r, l, s;
		
		r = sc.nextDouble();
		
		l = 2 * r * Math.PI;
		s = r * r * Math.PI;
		
		System.out.printf("%.5f %.5f\n", s, l);
	} main {
		Scanner sc = new Scanner(System.in);
		double r, l, s;
		
		r = sc.nextDouble();
		
		l = 2 * r * Math.PI;
		s = r * r * Math.PI;
		
		System.out.printf("%.5f %.5f\n", s, l);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r r l l s; s r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc l = 2 * r * Math.PI l 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI s = r * r * Math.PI s r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI System.out.printf("%.5f %.5f\n", s, l) System.out.printf System.out System System.out "%.5f %.5f\n" s l String args[] args
import java.util.*;

class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		double r, l, s;
		
		r = sc.nextDouble();
		
		l = 2 * r * Math.PI;
		s = r * r * Math.PI;
		
		System.out.printf("%.5f %.5f\n", s, l);
	}
}