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 pi = Math.PI;
		double S = r * r * pi;
		double R = 2 * r * pi;
		System.out.printf("%.6f %.6f", S, R);
	}
} 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 pi = Math.PI;
		double S = r * r * pi;
		double R = 2 * r * pi;
		System.out.printf("%.6f %.6f", S, R);
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(in.readLine());

		double pi = Math.PI;
		double S = r * r * pi;
		double R = 2 * r * pi;
		System.out.printf("%.6f %.6f", S, R);
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(in.readLine());

		double pi = Math.PI;
		double S = r * r * pi;
		double R = 2 * r * pi;
		System.out.printf("%.6f %.6f", S, R);
	} 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 double pi = Math.PI; pi Math.PI Math Math.PI double S = r * r * pi; S r * r * pi r * r * pi r r pi double R = 2 * r * pi; R 2 * r * pi 2 * r * pi 2 r pi System.out.printf("%.6f %.6f", S, R) System.out.printf System.out System System.out "%.6f %.6f" S R String[] args args
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 pi = Math.PI;
		double S = r * r * pi;
		double R = 2 * r * pi;
		System.out.printf("%.6f %.6f", S, R);
	}
}