import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	} main {
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	} BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str =br.readLine(); str br.readLine() br.readLine br String[] stra = str.split(" "); stra str.split(" ") str.split str " " double a = Double.parseDouble(stra[0]); a Double.parseDouble(stra[0]) Double.parseDouble Double stra[0] stra 0 double p = 3.1415926535897932384626433 ; p 3.1415926535897932384626433 System.out.printf("%.8f %.8f",a*a*p,2*p*a) System.out.printf System.out System System.out "%.8f %.8f" a*a*p a*a*p a a p 2*p*a 2*p*a 2 p a String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		String str =br.readLine();
		String[] stra = str.split(" ");
		
		double a = Double.parseDouble(stra[0]);
		double p = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f",a*a*p,2*p*a);
	}

}