import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        double r = scan.nextDouble();
        
        double S = r * r * Math.PI;
        double R = 2 * r * Math.PI;

        String str = String.format("%.6f", S);
        String rstr = String.format("%.6f", R);
        System.out.println(str + " " + rstr);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        double r = scan.nextDouble();
        
        double S = r * r * Math.PI;
        double R = 2 * r * Math.PI;

        String str = String.format("%.6f", S);
        String rstr = String.format("%.6f", R);
        System.out.println(str + " " + rstr);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        double r = scan.nextDouble();
        
        double S = r * r * Math.PI;
        double R = 2 * r * Math.PI;

        String str = String.format("%.6f", S);
        String rstr = String.format("%.6f", R);
        System.out.println(str + " " + rstr);
    } main {
        Scanner scan = new Scanner(System.in);
        
        double r = scan.nextDouble();
        
        double S = r * r * Math.PI;
        double R = 2 * r * Math.PI;

        String str = String.format("%.6f", S);
        String rstr = String.format("%.6f", R);
        System.out.println(str + " " + rstr);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double S = r * r * Math.PI; S r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double R = 2 * r * Math.PI; R 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI String str = String.format("%.6f", S); str String.format("%.6f", S) String.format String "%.6f" S String rstr = String.format("%.6f", R); rstr String.format("%.6f", R) String.format String "%.6f" R System.out.println(str + " " + rstr) System.out.println System.out System System.out str + " " + rstr str + " " + rstr str " " rstr String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        double r = scan.nextDouble();
        
        double S = r * r * Math.PI;
        double R = 2 * r * Math.PI;

        String str = String.format("%.6f", S);
        String rstr = String.format("%.6f", R);
        System.out.println(str + " " + rstr);
    }
}