import java.io.*;
public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    }
} Main public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    } main {
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    } BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) String str=buf.readLine(); str buf.readLine() buf.readLine buf double x=Double.parseDouble(str); x Double.parseDouble(str) Double.parseDouble Double str String f=String.format("%.6f",(double)x*(double)x*3.141592653589); f String.format("%.6f",(double)x*(double)x*3.141592653589) String.format String "%.6f" (double)x*(double)x*3.141592653589 (double)x*(double)x*3.141592653589 (double)x (double)x 3.141592653589 String t=String.format("%.6f",(double)x*2*3.141592653589); t String.format("%.6f",(double)x*2*3.141592653589) String.format String "%.6f" (double)x*2*3.141592653589 (double)x*2*3.141592653589 (double)x 2 3.141592653589 System.out.println(f+" "+t) System.out.println System.out System System.out f+" "+t f+" "+t f " " t String[] args args public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    }
} public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    }
} Main
import java.io.*;
public class Main {
    public static void main(String[] args) throws IOException{
        BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
        String str=buf.readLine();
        double x=Double.parseDouble(str);
    
        String f=String.format("%.6f",(double)x*(double)x*3.141592653589);
        String t=String.format("%.6f",(double)x*2*3.141592653589);
        System.out.println(f+" "+t);
    }
}