import 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();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		}

} import java.io.*; io.* java public class Main {
	
		public static void main(String[] args) throws IOException{
			
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		}

} Main public static void main(String[] args) throws IOException{
			
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		} main {
			
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		} 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 double r = Double.parseDouble(str); r Double.parseDouble(str) Double.parseDouble Double str System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI ) System.out.printf System.out System System.out "%6f %6f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI 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();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		}

} public class Main {
	
		public static void main(String[] args) throws IOException{
			
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String str = br.readLine();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		}

} Main
import 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();
			
			double r = Double.parseDouble(str);
			
			System.out.printf("%6f %6f",r*r*Math.PI ,2*r*Math.PI );
			
			
			
		}

}