
//Computation - Circle
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(in.readLine());
		
//		double r =34.1201;
		
		System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI);
			

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(in.readLine());
		
//		double r =34.1201;
		
		System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI);
			

	}
} Main public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(in.readLine());
		
//		double r =34.1201;
		
		System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI);
			

	} main {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(in.readLine());
		
//		double r =34.1201;
		
		System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI);
			

	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) double r = Double.parseDouble(in.readLine()); r Double.parseDouble(in.readLine()) Double.parseDouble Double in.readLine() in.readLine in System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI) System.out.printf System.out System System.out "%.6f %.6f\n" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI String[] args args

//Computation - Circle
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(in.readLine());
		
//		double r =34.1201;
		
		System.out.printf("%.6f %.6f\n" ,r*r*Math.PI,2*r*Math.PI);
			

	}
}