import java.util.Scanner;
import java.math.*;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	}
} import java.util.Scanner; Scanner java.util import java.math.*; math.* java public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	} main {
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double a = scan.nextDouble(); a scan.nextDouble() scan.nextDouble scan BigDecimal x = new BigDecimal(a*a*Math.PI); x new BigDecimal(a*a*Math.PI) x = x.setScale(6, BigDecimal.ROUND_HALF_UP) x x.setScale(6, BigDecimal.ROUND_HALF_UP) x.setScale x 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP BigDecimal y = new BigDecimal(2*a*Math.PI); y new BigDecimal(2*a*Math.PI) y = y.setScale(6, BigDecimal.ROUND_HALF_UP) y y.setScale(6, BigDecimal.ROUND_HALF_UP) y.setScale y 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(x +" "+ y) System.out.println System.out System System.out x +" "+ y x +" "+ y x " " y String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	}
} Main
import java.util.Scanner;
import java.math.*;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double a = scan.nextDouble();
		BigDecimal x = new BigDecimal(a*a*Math.PI);
		x = x.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal y = new BigDecimal(2*a*Math.PI);
		y = y.setScale(6, BigDecimal.ROUND_HALF_UP);
		System.out.println(x +" "+ y);
	}
}