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

public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	}
} Main public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	} main {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc BigDecimal r = new BigDecimal(line); r new BigDecimal(line) BigDecimal p = new BigDecimal(Math.PI); p new BigDecimal(Math.PI) BigDecimal c = r.multiply(r); c r.multiply(r) r.multiply r r BigDecimal m = c.multiply(p); m c.multiply(p) c.multiply c p BigDecimal two = new BigDecimal("2"); two new BigDecimal("2") BigDecimal d = r.multiply(two); d r.multiply(two) r.multiply r two BigDecimal s= d.multiply(p); s d.multiply(p) d.multiply d p m.setScale(7, BigDecimal.ROUND_DOWN) m.setScale m 7 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN s.setScale(7, BigDecimal.ROUND_DOWN) s.setScale s 7 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.print(m) System.out.print System.out System System.out m System.out.println(" "+s) System.out.println System.out System System.out " "+s " " s String[] arges arges public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	}
} public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] arges) {
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();

		BigDecimal r = new BigDecimal(line);
		BigDecimal p = new BigDecimal(Math.PI);
		BigDecimal c = r.multiply(r);
		BigDecimal m = c.multiply(p);

		BigDecimal two = new BigDecimal("2");
		BigDecimal d = r.multiply(two);
		BigDecimal s= d.multiply(p);

		m.setScale(7, BigDecimal.ROUND_DOWN);
		s.setScale(7, BigDecimal.ROUND_DOWN);
		System.out.print(m);System.out.println(" "+s);
	}
}