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