

import java.math.BigDecimal;
import java.util.*;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	}
} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	} main {
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String str; str double r; r r = scan.nextDouble() r scan.nextDouble() scan.nextDouble scan BigDecimal x = new BigDecimal(r * r * Math.PI); x new BigDecimal(r * r * Math.PI) str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " " str String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " " String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) String.valueOf String x.setScale(5, BigDecimal.ROUND_UP) x.setScale x 5 BigDecimal.ROUND_UP BigDecimal BigDecimal.ROUND_UP " " BigDecimal y = new BigDecimal(2 * r * Math.PI); y new BigDecimal(2 * r * Math.PI) str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP)) str str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP)) str String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP)) String.valueOf String y.setScale(5, BigDecimal.ROUND_HALF_UP) y.setScale y 5 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(str) System.out.println System.out System System.out str String args[] args public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	}
} public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	}
} Main


import java.math.BigDecimal;
import java.util.*;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		
		String str;//???????????\??????
		
		double r;
		r = scan.nextDouble();
		
		//double r;
		//r = Double.parseDouble(Integer.toString(scan.nextInt()) + ".0");//??°??????????????????/0????????????
		//?????¨?????3.14
		
		//????????¢???????±???????
		//BigDecimal x = new BigDecimal(?¨???????????????\??????);
		BigDecimal x = new BigDecimal(r * r * Math.PI);
		str = String.valueOf(x.setScale(5, BigDecimal.ROUND_UP)) + " ";
		
		
		
		//?????¨????????????????±???????
		BigDecimal y = new BigDecimal(2 * r * Math.PI);
		str = str + String.valueOf(y.setScale(5, BigDecimal.ROUND_HALF_UP));
		
		
		System.out.println(str);
		
		
	}
}