import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	}
} Main public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br StringBuilder sb = new StringBuilder(); sb new StringBuilder() double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line String area = String.format("%.6f",((double)r *(double)r * Math.PI)); area String.format("%.6f",((double)r *(double)r * Math.PI)) String.format String "%.6f" ((double)r *(double)r * Math.PI) (double)r *(double)r * Math.PI (double)r (double)r Math.PI Math Math.PI String cir = String.format("%.6f",(2 * (double)r * Math.PI)); cir String.format("%.6f",(2 * (double)r * Math.PI)) String.format String "%.6f" (2 * (double)r * Math.PI) 2 * (double)r * Math.PI 2 (double)r Math.PI Math Math.PI sb.append(area).append(" ").append(cir).append("\n") sb.append(area).append(" ").append(cir).append sb.append(area).append(" ").append(cir) sb.append(area).append(" ").append sb.append(area).append(" ") sb.append(area).append sb.append(area) sb.append sb area " " cir "\n" System.out.print(sb) System.out.print System.out System System.out sb String[] args args public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	}
} public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		StringBuilder sb = new StringBuilder();
		
		double r = Double.parseDouble(line);
		
		String area = String.format("%.6f",((double)r *(double)r * Math.PI));
		String cir = String.format("%.6f",(2 * (double)r * Math.PI));
		
		sb.append(area).append(" ").append(cir).append("\n");
		System.out.print(sb);
	}
}