import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) double r = Double.parseDouble(br.readLine()); r Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		} (0 < r) && (r <= 10000) (0 < r) 0 r (r <= 10000) r 10000 {
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		} double f = ((double)(r * r)*Math.PI); f ((double)(r * r)*Math.PI) (double)(r * r) r r Math.PI Math Math.PI double d = ((double)(r * 2)*Math.PI); d ((double)(r * 2)*Math.PI) (double)(r * 2) r 2 Math.PI Math Math.PI System.out.printf("%1.6f %1.6f",f , d) System.out.printf System.out System System.out "%1.6f %1.6f" f d String[] args args public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	}
} public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		double r = Double.parseDouble(br.readLine());
		if((0 < r) && (r <= 10000)){
			double f = ((double)(r * r)*Math.PI);
			double d = ((double)(r * 2)*Math.PI);

			System.out.printf("%1.6f %1.6f",f , d);
		}
	}
}