import java.util.Scanner;

public class Main {


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    }
    
} import java.util.Scanner; Scanner java.util public class Main {


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    }
    
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    } main {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) String str = in.next(); str in.next() in.next in Double num = Double.parseDouble(str); num Double.parseDouble(str) Double.parseDouble Double str Double Ans1 = Math.PI * num * num; Ans1 Math.PI * num * num Math.PI * num * num Math.PI Math Math.PI num num Double Ans2 = 2 * Math.PI * num; Ans2 2 * Math.PI * num 2 * Math.PI * num 2 Math.PI Math Math.PI num String Ans1_str = String.format("%.5f", Ans1); Ans1_str String.format("%.5f", Ans1) String.format String "%.5f" Ans1 String Ans2_str = String.format("%.5f", Ans2); Ans2_str String.format("%.5f", Ans2) String.format String "%.5f" Ans2 System.out.println(Ans1_str+" "+Ans2_str) System.out.println System.out System System.out Ans1_str+" "+Ans2_str Ans1_str+" "+Ans2_str Ans1_str " " Ans2_str String[] args args public class Main {


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    }
    
} public class Main {


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    }
    
} Main
import java.util.Scanner;

public class Main {


    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        Double num = Double.parseDouble(str);
        Double Ans1 = Math.PI * num * num;
        Double Ans2 = 2 * Math.PI * num;
        String Ans1_str = String.format("%.5f", Ans1);
        String Ans2_str = String.format("%.5f", Ans2);
        System.out.println(Ans1_str+" "+Ans2_str);
    }
    
}