import java.util.Scanner;

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

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

