import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {
	public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	}

	//?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	}

	//	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {
	public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	}

	//?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	}

	//	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	}
} Main public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String str = br.readLine(); str br.readLine() br.readLine br BigDecimal r = new BigDecimal(str); r new BigDecimal(str) BigDecimal pi = new BigDecimal(Math.PI); pi new BigDecimal(Math.PI) BigDecimal d = new BigDecimal("2"); d new BigDecimal("2") String area =r.multiply(r).multiply(pi).toPlainString(); area r.multiply(r).multiply(pi).toPlainString() r.multiply(r).multiply(pi).toPlainString r.multiply(r).multiply(pi) r.multiply(r).multiply r.multiply(r) r.multiply r r pi String circle =r.multiply(d).multiply(pi).toPlainString(); circle r.multiply(d).multiply(pi).toPlainString() r.multiply(d).multiply(pi).toPlainString r.multiply(d).multiply(pi) r.multiply(d).multiply r.multiply(d) r.multiply r d pi System.out.println(area + " "+circle) System.out.println System.out System System.out area + " "+circle area + " "+circle area " " circle String[] args args //?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	} SubStringStart {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	} int index = str.indexOf(" "); index str.indexOf(" ") str.indexOf str " " return (str.substring(0, index)); (str.substring(0, index)) str.substring str 0 index String str str //	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	} SubStringEnd {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	} int index = str.lastIndexOf(" "); index str.lastIndexOf(" ") str.lastIndexOf str " " return (str.substring(index + 1)); (str.substring(index + 1)) str.substring str index + 1 index 1 String str str public class Main {
	public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	}

	//?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	}

	//	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	}
} public class Main {
	public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	}

	//?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	}

	//	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.math.BigDecimal;

public class Main {
	public static void main(String[] args) throws Exception {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(is);

		String str = br.readLine();

		BigDecimal r = new BigDecimal(str);
		BigDecimal pi = new BigDecimal(Math.PI);
		BigDecimal d = new BigDecimal("2");

		String area =r.multiply(r).multiply(pi).toPlainString();
		String circle =r.multiply(d).multiply(pi).toPlainString();

		System.out.println(area + " "+circle);
	}

	//?¬¬????????°???????????????????????????
	public static String SubStringStart(String str) {
		int index = str.indexOf(" ");
		return (str.substring(0, index));
	}

	//	?¬¬????????°???????????????????????????
	public static String SubStringEnd(String str) {
		int index = str.lastIndexOf(" ");
		return (str.substring(index + 1));
	}
}