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