import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    }
} Main private static Scanner scan; scan public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    } main {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    } scan = new Scanner(System.in) scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double π = 3.141592653589; π 3.141592653589 System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π)) System.out.println System.out System System.out String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π) String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π) String.format("%.6f",r * r * π) String.format String "%.6f" r * r * π r * r * π r r π " " String.format("%.6f", (r + r) * π) String.format String "%.6f" (r + r) * π (r + r) r r π String[] args args public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    }
} public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    }
} Main
import java.util.Scanner;

public class Main {
    private static Scanner scan;

    public static void main(String[] args) {
        scan = new Scanner(System.in);
        double r = scan.nextDouble();
        double π = 3.141592653589;
        System.out.println(
                String.format("%.6f",r * r * π) + " " + String.format("%.6f", (r + r) * π));
    }
}