import java.io.*;
  
class Main{
	public static void main(String[] args) throws IOException{

		double x,men,shu;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		x = Double.parseDouble(str);

		men = x * x * Math.PI;
		shu = 2 * Math.PI * x;

		System.out.printf("%1.6f %1.6f", men, shu);
    	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args) throws IOException{

		double x,men,shu;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		x = Double.parseDouble(str);

		men = x * x * Math.PI;
		shu = 2 * Math.PI * x;

		System.out.printf("%1.6f %1.6f", men, shu);
    	}
} Main public static void main(String[] args) throws IOException{

		double x,men,shu;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		x = Double.parseDouble(str);

		men = x * x * Math.PI;
		shu = 2 * Math.PI * x;

		System.out.printf("%1.6f %1.6f", men, shu);
    	} main {

		double x,men,shu;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		x = Double.parseDouble(str);

		men = x * x * Math.PI;
		shu = 2 * Math.PI * x;

		System.out.printf("%1.6f %1.6f", men, shu);
    	} double x x men men shu; shu 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 x = Double.parseDouble(str) x Double.parseDouble(str) Double.parseDouble Double str men = x * x * Math.PI men x * x * Math.PI x * x * Math.PI x x Math.PI Math Math.PI shu = 2 * Math.PI * x shu 2 * Math.PI * x 2 * Math.PI * x 2 Math.PI Math Math.PI x System.out.printf("%1.6f %1.6f", men, shu) System.out.printf System.out System System.out "%1.6f %1.6f" men shu String[] args args
import java.io.*;
  
class Main{
	public static void main(String[] args) throws IOException{

		double x,men,shu;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		x = Double.parseDouble(str);

		men = x * x * Math.PI;
		shu = 2 * Math.PI * x;

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