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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	}

} 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);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc double r = Double.valueOf(line); r Double.valueOf(line) Double.valueOf Double line BigDecimal R = BigDecimal.valueOf(r); R BigDecimal.valueOf(r) BigDecimal.valueOf BigDecimal r BigDecimal p = BigDecimal.valueOf(Math.PI); p BigDecimal.valueOf(Math.PI) BigDecimal.valueOf BigDecimal Math.PI Math Math.PI BigDecimal two = new BigDecimal("2"); two new BigDecimal("2") BigDecimal m = R.multiply(R); m R.multiply(R) R.multiply R R BigDecimal M = m.multiply(p); M m.multiply(p) m.multiply m p BigDecimal e = R.multiply(two); e R.multiply(two) R.multiply R two BigDecimal E = e.multiply(p); E e.multiply(p) e.multiply e p BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP); MM M.setScale(6, BigDecimal.ROUND_HALF_UP) M.setScale M 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP); EE E.setScale(6, BigDecimal.ROUND_HALF_UP) E.setScale E 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(MM + " " + EE) System.out.println System.out System System.out MM + " " + EE MM + " " + EE MM " " EE String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	}

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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		double r = Double.valueOf(line);

		BigDecimal R = BigDecimal.valueOf(r);
		BigDecimal p = BigDecimal.valueOf(Math.PI);
		BigDecimal two = new BigDecimal("2");
		BigDecimal m = R.multiply(R);
		BigDecimal M = m.multiply(p);
		BigDecimal e = R.multiply(two);
		BigDecimal E = e.multiply(p);

		BigDecimal MM = M.setScale(6, BigDecimal.ROUND_HALF_UP);
		BigDecimal EE = E.setScale(6, BigDecimal.ROUND_HALF_UP);

		System.out.println(MM + " " + EE);
	}

}