import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                }
        }
} import java.util.*; util.* java class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                }
        }
} Main public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                }
        } main {
                try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                }
        } try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                } {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) double N = sc.nextDouble(); N sc.nextDouble() sc.nextDouble sc System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI) System.out.printf System.out System System.out "%.10f %.10f\n" N * N * Math.PI N * N * Math.PI N N Math.PI Math Math.PI 2. * N * Math.PI 2. * N * Math.PI 2. N Math.PI Math Math.PI String args[] args
import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        double N = sc.nextDouble();
                        System.out.printf("%.10f %.10f\n", N * N * Math.PI, 2. * N * Math.PI);
                }
        }
}