import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  double r;
  String area,rect;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   r = Double.parseDouble(strAry[0]);  
   area=String.format("%.5f", r*r*3.141592653589);    
   rect=String.format("%.5f", 2*r*3.141592653589);    
   
   System.out.println(area + " "+ rect); 
 }
} import java.io.*; io.* java class Main{
 public static void main(String[] args)throws IOException{
  double r;
  String area,rect;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   r = Double.parseDouble(strAry[0]);  
   area=String.format("%.5f", r*r*3.141592653589);    
   rect=String.format("%.5f", 2*r*3.141592653589);    
   
   System.out.println(area + " "+ rect); 
 }
} Main public static void main(String[] args)throws IOException{
  double r;
  String area,rect;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   r = Double.parseDouble(strAry[0]);  
   area=String.format("%.5f", r*r*3.141592653589);    
   rect=String.format("%.5f", 2*r*3.141592653589);    
   
   System.out.println(area + " "+ rect); 
 } main {
  double r;
  String area,rect;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   r = Double.parseDouble(strAry[0]);  
   area=String.format("%.5f", r*r*3.141592653589);    
   rect=String.format("%.5f", 2*r*3.141592653589);    
   
   System.out.println(area + " "+ rect); 
 } double r; r String area area rect; rect 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 String[] strAry = str.split(" "); strAry str.split(" ") str.split str " " r = Double.parseDouble(strAry[0]) r Double.parseDouble(strAry[0]) Double.parseDouble Double strAry[0] strAry 0 area=String.format("%.5f", r*r*3.141592653589) area String.format("%.5f", r*r*3.141592653589) String.format String "%.5f" r*r*3.141592653589 r*r*3.141592653589 r r 3.141592653589 rect=String.format("%.5f", 2*r*3.141592653589) rect String.format("%.5f", 2*r*3.141592653589) String.format String "%.5f" 2*r*3.141592653589 2*r*3.141592653589 2 r 3.141592653589 System.out.println(area + " "+ rect) System.out.println System.out System System.out area + " "+ rect area + " "+ rect area " " rect String[] args args
import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  double r;
  String area,rect;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   r = Double.parseDouble(strAry[0]);  
   area=String.format("%.5f", r*r*3.141592653589);    
   rect=String.format("%.5f", 2*r*3.141592653589);    
   
   System.out.println(area + " "+ rect); 
 }
}