import java.util.*;
import java.lang.*;
import java.math.*;
public class Main{
	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.math.*; math.* java public class Main{
	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	}
} Main public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	} main {
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	} Scanner stdIn=new Scanner(System.in); stdIn new Scanner(System.in) double r=stdIn.nextDouble(); r stdIn.nextDouble() stdIn.nextDouble stdIn double s=r*r*Math.PI; s r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI double l=2*r*Math.PI; l 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString()) System.out.println System.out System System.out BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString() BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString() BigDecimal.valueOf(s).toPlainString() BigDecimal.valueOf(s).toPlainString BigDecimal.valueOf(s) BigDecimal.valueOf BigDecimal s " " BigDecimal.valueOf(l).toPlainString() BigDecimal.valueOf(l).toPlainString BigDecimal.valueOf(l) BigDecimal.valueOf BigDecimal l String[] args args public class Main{
	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	}
} public class Main{
	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	}
} Main
import java.util.*;
import java.lang.*;
import java.math.*;
public class Main{
	public static void main(String[] args){
		Scanner stdIn=new Scanner(System.in);
		double r=stdIn.nextDouble();
		double s=r*r*Math.PI;
		double l=2*r*Math.PI;
		System.out.println(BigDecimal.valueOf(s).toPlainString()+" "+BigDecimal.valueOf(l).toPlainString());
	}
}