import java.util.Scanner;
class Main {
	public void ci(){
		Scanner sc = new Scanner(System.in);
		double r,S,O;
		r = sc.nextDouble();
		S = r * r * 3.141592653589;
		O = 2 * r * 3.141592653589;
		System.out.printf("%2.6f %2.6f\n",S,O);
	}
	public static void main(String[] args){
		new Main().ci();
	}
} import java.util.Scanner; Scanner java.util class Main {
	public void ci(){
		Scanner sc = new Scanner(System.in);
		double r,S,O;
		r = sc.nextDouble();
		S = r * r * 3.141592653589;
		O = 2 * r * 3.141592653589;
		System.out.printf("%2.6f %2.6f\n",S,O);
	}
	public static void main(String[] args){
		new Main().ci();
	}
} Main public void ci(){
		Scanner sc = new Scanner(System.in);
		double r,S,O;
		r = sc.nextDouble();
		S = r * r * 3.141592653589;
		O = 2 * r * 3.141592653589;
		System.out.printf("%2.6f %2.6f\n",S,O);
	} ci {
		Scanner sc = new Scanner(System.in);
		double r,S,O;
		r = sc.nextDouble();
		S = r * r * 3.141592653589;
		O = 2 * r * 3.141592653589;
		System.out.printf("%2.6f %2.6f\n",S,O);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r r S S O; O r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc S = r * r * 3.141592653589 S r * r * 3.141592653589 r * r * 3.141592653589 r r 3.141592653589 O = 2 * r * 3.141592653589 O 2 * r * 3.141592653589 2 * r * 3.141592653589 2 r 3.141592653589 System.out.printf("%2.6f %2.6f\n",S,O) System.out.printf System.out System System.out "%2.6f %2.6f\n" S O public static void main(String[] args){
		new Main().ci();
	} main {
		new Main().ci();
	} new Main().ci() new Main().ci new Main() String[] args args
import java.util.Scanner;
class Main {
	public void ci(){
		Scanner sc = new Scanner(System.in);
		double r,S,O;
		r = sc.nextDouble();
		S = r * r * 3.141592653589;
		O = 2 * r * 3.141592653589;
		System.out.printf("%2.6f %2.6f\n",S,O);
	}
	public static void main(String[] args){
		new Main().ci();
	}
}