import java.io.*;
import java.util.*;
import java.lang.Math;
 
class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        double r = Double.valueOf(line);       
        
        double square= r * r * Math.PI;
        double circle= 2 * r * Math.PI;
        
        System.out.printf("%.5f %.5f \n",square,circle);
        re.close();
    }
} import java.io.*; io.* java import java.util.*; util.* java import java.lang.Math; Math java.lang class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        double r = Double.valueOf(line);       
        
        double square= r * r * Math.PI;
        double circle= 2 * r * Math.PI;
        
        System.out.printf("%.5f %.5f \n",square,circle);
        re.close();
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        double r = Double.valueOf(line);       
        
        double square= r * r * Math.PI;
        double circle= 2 * r * Math.PI;
        
        System.out.printf("%.5f %.5f \n",square,circle);
        re.close();
    } main {
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        double r = Double.valueOf(line);       
        
        double square= r * r * Math.PI;
        double circle= 2 * r * Math.PI;
        
        System.out.printf("%.5f %.5f \n",square,circle);
        re.close();
    } BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in)); re new BufferedReader(new InputStreamReader(System.in)) String line = re.readLine(); line re.readLine() re.readLine re double r = Double.valueOf(line); r Double.valueOf(line) Double.valueOf Double line double square= r * r * Math.PI; square r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double circle= 2 * r * Math.PI; circle 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%.5f %.5f \n",square,circle) System.out.printf System.out System System.out "%.5f %.5f \n" square circle re.close() re.close re String[] args args
import java.io.*;
import java.util.*;
import java.lang.Math;
 
class Main{
    public static void main(String[] args) throws IOException{
        BufferedReader re =
         new BufferedReader(new InputStreamReader(System.in));       
        String line = re.readLine();       
         
        double r = Double.valueOf(line);       
        
        double square= r * r * Math.PI;
        double circle= 2 * r * Math.PI;
        
        System.out.printf("%.5f %.5f \n",square,circle);
        re.close();
    }
}