
import java.io.PrintStream;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    }
}

 import java.io.PrintStream; PrintStream java.io import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    } main {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner PrintStream printf; printf printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI)) printf System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI)) System.out.printf System.out System System.out "%.5f %.5f\n" (r * r * Math.PI) r * r * Math.PI r r Math.PI Math Math.PI (r * 2 * Math.PI) r * 2 * Math.PI r 2 Math.PI Math Math.PI String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    }
} Main

import java.io.PrintStream;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        double r = scanner.nextDouble();

        PrintStream printf;
        printf = System.out.printf("%.5f %.5f\n", (r * r * Math.PI), (r * 2 * Math.PI));
    }
}


