import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;


public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} import java.io.IOException; IOException java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} Main public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	} exec {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) double r = input.nextDouble(); r input.nextDouble() input.nextDouble input out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r) out.printf out "%.6f %.6f" Math.PI*r*r Math.PI*r*r Math.PI Math Math.PI r r 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r out.flush() out.flush out input.close() input.close input public static void main(String[] args) throws IOException {
		new Main().exec();
	} main {
		new Main().exec();
	} new Main().exec() new Main().exec new Main() String[] args args public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
} Main
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;


public class Main {
	public void exec() throws IOException {
		Scanner input = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		double r = input.nextDouble();
		out.printf("%.6f %.6f", Math.PI*r*r, 2*Math.PI*r);
		out.flush();
		input.close();
	}

	public static void main(String[] args) throws IOException {
		new Main().exec();
	}
}