public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	}
} public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	}
} Main public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	} main {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	} java.util.Scanner sc = new java.util.Scanner(System.in); sc new java.util.Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double menseki = r * r * Math.PI; menseki r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double shuu = 2 * r * Math.PI; shuu 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%.5f %.5f\n",menseki,shuu) System.out.printf System.out System System.out "%.5f %.5f\n" menseki shuu String[] args args public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	}
} public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	}
} Main
public class Main {
	public static void main(String[] args) {
		java.util.Scanner sc = new java.util.Scanner(System.in);
		//StringBuilder sb = new StringBuilder();
		double r = sc.nextDouble();

		double menseki = r * r * Math.PI;
		double shuu = 2 * r * Math.PI;
		System.out.printf("%.5f %.5f\n",menseki,shuu);
	}
}