import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  }
	


} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  }
	


} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  } main {
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double area = Math.PI * (double)r * (double)r; area Math.PI * (double)r * (double)r Math.PI * (double)r * (double)r Math.PI Math Math.PI (double)r (double)r double cir = Math.PI * 2 * (double)r ; cir Math.PI * 2 * (double)r Math.PI * 2 * (double)r Math.PI Math Math.PI 2 (double)r System.out.printf("%6f",area) System.out.printf System.out System System.out "%6f" area System.out.printf(" ") System.out.printf System.out System System.out " " System.out.printf("%6f\n",cir) System.out.printf System.out System System.out "%6f\n" cir String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  }
	


} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  }
	


} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    
	double r = sc.nextDouble();
	
	double area = Math.PI * (double)r * (double)r; 
        double cir = Math.PI * 2 * (double)r ;
	
	System.out.printf("%6f",area);
	System.out.printf(" ");
	System.out.printf("%6f\n",cir);	
  }
	


}