import java.util.Scanner;

public class Main {

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

    private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

    private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            solve(in);
        }
    } try (Scanner in = new Scanner(System.in)) {
            solve(in);
        } {
            solve(in);
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) solve(in) solve in String[] args args private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    } solve {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    } final double r = in.nextDouble(); r in.nextDouble() in.nextDouble in 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 Scanner in in public class Main {

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

    private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    }
} public class Main {

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

    private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    }
} Main
import java.util.Scanner;

public class Main {

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

    private static void solve(Scanner in) {
        final double r = in.nextDouble();
        System.out.printf("%.5f %.5f\n", r * r * Math.PI, r * 2 * Math.PI);
        // System.out.printf("%f %f\n", r * r * Math.PI, r * 2 * Math.PI);
    }
}