import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    } main {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double num = Double.parseDouble(sc.nextLine()); num Double.parseDouble(sc.nextLine()) Double.parseDouble Double sc.nextLine() sc.nextLine sc double ans1 = num * num * Math.PI; ans1 num * num * Math.PI num * num * Math.PI num num Math.PI Math Math.PI double ans2 = (num * 2) * Math.PI; ans2 (num * 2) * Math.PI (num * 2) num 2 Math.PI Math Math.PI System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2)) System.out.println System.out System System.out String.format("%.5f", ans1) + " " + String.format("%.5f", ans2) String.format("%.5f", ans1) + " " + String.format("%.5f", ans2) String.format("%.5f", ans1) String.format String "%.5f" ans1 " " String.format("%.5f", ans2) String.format String "%.5f" ans2 String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double num = Double.parseDouble(sc.nextLine());

        double ans1 = num * num * Math.PI;
        double ans2 = (num * 2) * Math.PI;

        System.out.println(String.format("%.5f", ans1) + " " + String.format("%.5f", ans2));


    }
}