import java.io.*;
import java.lang.Integer;
import static java.lang.Math.*;
public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} import java.io.*; io.* java import java.lang.Integer; Integer java.lang import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} Main public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	} main {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	} try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		} IOException e {
			System.out.println("??¨??????????????????????????????");
		} System.out.println("??¨??????????????????????????????") System.out.println System.out System System.out "??¨??????????????????????????????" {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) new BufferedReader(new InputStreamReader(System.in)) String in  = br.readLine() ; in br.readLine() br.readLine br double r = Double.parseDouble(in); r Double.parseDouble(in) Double.parseDouble Double in double area = r*r*PI; area r*r*PI r*r*PI r r PI double enshu = 2*r*PI; enshu 2*r*PI 2*r*PI 2 r PI System.out.printf("%5.5f %5.5f", area, enshu ) System.out.printf System.out System System.out "%5.5f %5.5f" area enshu String[] args args public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
} Main
import java.io.*;
import java.lang.Integer;
import static java.lang.Math.*;
public class Main {
	public static void main(String[] args) {
		try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {
			String in  = br.readLine() ;
			double r = Double.parseDouble(in);
			double area = r*r*PI;
			double enshu = 2*r*PI;
			System.out.printf("%5.5f %5.5f", area, enshu );
		} catch ( IOException e ) {
			System.out.println("??¨??????????????????????????????");
		}
	}
}