import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		r =sc.nextDouble();
		x=r*r*(Math.PI);
		y=2*r*(Math.PI);
		System.out.printf("%f %f",x,y);
		
		
	}
} import java.util.*; util.* java class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		r =sc.nextDouble();
		x=r*r*(Math.PI);
		y=2*r*(Math.PI);
		System.out.printf("%f %f",x,y);
		
		
	}
} Main static int a; a static int b; b static int c; c static int d; d static int e; e static int p; p static double f; f static int g; g static int h; h static int i; i static int j; j static int k; k static int l; l static int m; m static int o; o static int q; q static double r; r static int s; s static int t; t static int u; u static double x; x static double y; y private static Scanner sc; sc public static void main(String[]agrs){
		sc=new Scanner(System.in);
		r =sc.nextDouble();
		x=r*r*(Math.PI);
		y=2*r*(Math.PI);
		System.out.printf("%f %f",x,y);
		
		
	} main {
		sc=new Scanner(System.in);
		r =sc.nextDouble();
		x=r*r*(Math.PI);
		y=2*r*(Math.PI);
		System.out.printf("%f %f",x,y);
		
		
	} sc=new Scanner(System.in) sc new Scanner(System.in) r =sc.nextDouble() r sc.nextDouble() sc.nextDouble sc x=r*r*(Math.PI) x r*r*(Math.PI) r*r*(Math.PI) r r (Math.PI) Math Math.PI y=2*r*(Math.PI) y 2*r*(Math.PI) 2*r*(Math.PI) 2 r (Math.PI) Math Math.PI System.out.printf("%f %f",x,y) System.out.printf System.out System System.out "%f %f" x y String[]agrs agrs
import java.util.*;

class Main{
	static int a;
	static int b;
	static int c;
	static int d;
	static int e;
	static int p;
	static double f;
	static int g;
	static int h;
	static int i;
	static int j;
	static int k;
	static int l;
	static int m;
	static int o;
	static int q;
	static double r;
	static int s;
	static int t;
	static int u;
	static double x;
	static double y;
	private static Scanner sc;
	public static void main(String[]agrs){
		sc=new Scanner(System.in);
		r =sc.nextDouble();
		x=r*r*(Math.PI);
		y=2*r*(Math.PI);
		System.out.printf("%f %f",x,y);
		
		
	}
}