import java.io.BufferedReader;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } Main public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 } main {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 } try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
} catch (Exception e) {

	System.out.println("????????????");
	
} Exception e {

	System.out.println("????????????");
	
} System.out.println("????????????") System.out.println System.out System System.out "????????????" {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) String input = buf.readLine(); input buf.readLine() buf.readLine buf String[] strAry = input.split(" "); strAry input.split(" ") input.split input " " double r = Double.parseDouble(strAry[0]); r Double.parseDouble(strAry[0]) Double.parseDouble Double strAry[0] strAry 0 double x = r*r*Math.PI; x r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI double y = 2*r*Math.PI; y 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.printf("%5f %5f", x, y) System.out.printf System.out System System.out "%5f %5f" x y String[] args args public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } Main
import java.io.BufferedReader;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    double r = Double.parseDouble(strAry[0]);
    double x = r*r*Math.PI;
    double y = 2*r*Math.PI;

System.out.printf("%5f %5f", x, y);

} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    }