import java.util.Scanner;

class Main {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double p = Math.PI;


		System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
	}
} import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double p = Math.PI;


		System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double p = Math.PI;


		System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double p = Math.PI;


		System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double p = Math.PI; p Math.PI Math Math.PI System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r) System.out.printf System.out System System.out "%.6f" + " " + "%.6f" "%.6f" + " " + "%.6f" "%.6f" " " "%.6f" r*r*p r*r*p r r p 2*p*r 2*p*r 2 p r String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double p = Math.PI;


		System.out.printf("%.6f" + " " + "%.6f",r*r*p,2*p*r);
	}
}