import java.util.Scanner;
import java.util.Formatter;
public class Main
{
	public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	}
} import java.util.Scanner; Scanner java.util import java.util.Formatter; Formatter java.util public class Main
{
	public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	}
} Main public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	} main {
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	} Scanner inp = new Scanner(System.in); inp new Scanner(System.in) Formatter f1 = new Formatter(); f1 new Formatter() Formatter f2 = new Formatter(); f2 new Formatter() double r; r r = inp.nextDouble() r inp.nextDouble() inp.nextDouble inp f1.format("%.6f",r*r*Math.PI) f1.format f1 "%.6f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI f2.format("%.6f",2*r*Math.PI) f2.format f2 "%.6f" 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.println(f1 + " " + f2) System.out.println System.out System System.out f1 + " " + f2 f1 + " " + f2 f1 " " f2 String args[] args public class Main
{
	public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	}
} public class Main
{
	public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	}
} Main
import java.util.Scanner;
import java.util.Formatter;
public class Main
{
	public static void main(String args[])
	{
		Scanner inp = new Scanner(System.in);
		Formatter f1 = new Formatter();
		Formatter f2 = new Formatter();
		double r;
		r = inp.nextDouble();
		f1.format("%.6f",r*r*Math.PI);
		f2.format("%.6f",2*r*Math.PI);
		System.out.println(f1 + " " + f2);
	}
}