import java.util.Scanner;
import java.text.DecimalFormat;

public class Main{

    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    }
} import java.util.Scanner; Scanner java.util import java.text.DecimalFormat; DecimalFormat java.text public class Main{

    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    }
} Main public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    } main {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) DecimalFormat df = new DecimalFormat("0.000000"); df new DecimalFormat("0.000000") double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double S S L; L S = Math.pow(r,2) * Math.PI S Math.pow(r,2) * Math.PI Math.pow(r,2) Math.pow Math r 2 Math.PI Math Math.PI L = 2 * r * Math.PI L 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.println(df.format(S)+" "+df.format(L)) System.out.println System.out System System.out df.format(S)+" "+df.format(L) df.format(S)+" "+df.format(L) df.format(S) df.format df S " " df.format(L) df.format df L String argv[] argv public class Main{

    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    }
} public class Main{

    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    }
} Main
import java.util.Scanner;
import java.text.DecimalFormat;

public class Main{

    public static void main(String argv[])
    {
	Scanner scan = new Scanner(System.in);
	DecimalFormat df = new DecimalFormat("0.000000");
	double r = scan.nextDouble();
	double S,L;

	S = Math.pow(r,2) * Math.PI;
	L = 2 * r * Math.PI;
	System.out.println(df.format(S)+" "+df.format(L));
    }
}