import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	
	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	}

} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
	
	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	}

} Main public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal r = BigDecimal.valueOf(sc.nextDouble()); r BigDecimal.valueOf(sc.nextDouble()) BigDecimal.valueOf BigDecimal sc.nextDouble() sc.nextDouble sc BigDecimal pi = BigDecimal.valueOf(Math.PI); pi BigDecimal.valueOf(Math.PI) BigDecimal.valueOf BigDecimal Math.PI Math Math.PI System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r)) System.out.println System.out System System.out r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r) r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r) r.pow(2).multiply(pi) r.pow(2).multiply r.pow(2) r.pow r 2 pi " " BigDecimal.valueOf(2).multiply(pi).multiply(r) BigDecimal.valueOf(2).multiply(pi).multiply BigDecimal.valueOf(2).multiply(pi) BigDecimal.valueOf(2).multiply BigDecimal.valueOf(2) BigDecimal.valueOf BigDecimal 2 pi r sc.close() sc.close sc String[] args args public class Main {
	
	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	}

} public class Main {
	
	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	}

} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	
	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		
		BigDecimal r = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal pi = BigDecimal.valueOf(Math.PI);
		
		System.out.println(r.pow(2).multiply(pi) + " " + BigDecimal.valueOf(2).multiply(pi).multiply(r));
		
		sc.close();
	}

}