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

public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	}

} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	}

} Main public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	} main {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) double r = s.nextDouble(); r s.nextDouble() s.nextDouble s s.close() s.close s String a1 = new BigDecimal(Math.PI*r*r).toPlainString(); a1 new BigDecimal(Math.PI*r*r).toPlainString() new BigDecimal(Math.PI*r*r).toPlainString new BigDecimal(Math.PI*r*r) String a2 = new BigDecimal(Math.PI*r*2).toPlainString(); a2 new BigDecimal(Math.PI*r*2).toPlainString() new BigDecimal(Math.PI*r*2).toPlainString new BigDecimal(Math.PI*r*2) System.out.println(a1 + " " + a2) System.out.println System.out System System.out a1 + " " + a2 a1 + " " + a2 a1 " " a2 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	}

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

public class Main {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		double r = s.nextDouble();
		s.close();
		String a1 = new BigDecimal(Math.PI*r*r).toPlainString();
		String a2 = new BigDecimal(Math.PI*r*2).toPlainString();
		System.out.println(a1 + " " + a2);
	}

}