import java.io.*;

class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		double r = Double.parseDouble(str);
		double s, l;

		s = (double)r*r*Math.PI;
		l = 2.0*r*Math.PI;

		System.out.printf("%.6f %.6f\n", s, l);
	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		double r = Double.parseDouble(str);
		double s, l;

		s = (double)r*r*Math.PI;
		l = 2.0*r*Math.PI;

		System.out.printf("%.6f %.6f\n", s, l);
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		double r = Double.parseDouble(str);
		double s, l;

		s = (double)r*r*Math.PI;
		l = 2.0*r*Math.PI;

		System.out.printf("%.6f %.6f\n", s, l);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		double r = Double.parseDouble(str);
		double s, l;

		s = (double)r*r*Math.PI;
		l = 2.0*r*Math.PI;

		System.out.printf("%.6f %.6f\n", s, l);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br double r = Double.parseDouble(str); r Double.parseDouble(str) Double.parseDouble Double str double s s l; l s = (double)r*r*Math.PI s (double)r*r*Math.PI (double)r*r*Math.PI (double)r r Math.PI Math Math.PI l = 2.0*r*Math.PI l 2.0*r*Math.PI 2.0*r*Math.PI 2.0 r Math.PI Math Math.PI System.out.printf("%.6f %.6f\n", s, l) System.out.printf System.out System System.out "%.6f %.6f\n" s l String[] args args
import java.io.*;

class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		double r = Double.parseDouble(str);
		double s, l;

		s = (double)r*r*Math.PI;
		l = 2.0*r*Math.PI;

		System.out.printf("%.6f %.6f\n", s, l);
	}
}