import java.util.*;

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

        double pi = 3.1415926535897;
        
        String area = String.format("%.5f", pi * r * r);
        String arc = String.format("%.5f", 2.0 * pi * r);

        System.out.println(area + " " + arc);
    }
}
         import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();

        double pi = 3.1415926535897;
        
        String area = String.format("%.5f", pi * r * r);
        String arc = String.format("%.5f", 2.0 * pi * r);

        System.out.println(area + " " + arc);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();

        double pi = 3.1415926535897;
        
        String area = String.format("%.5f", pi * r * r);
        String arc = String.format("%.5f", 2.0 * pi * r);

        System.out.println(area + " " + arc);
    } main {
        Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();

        double pi = 3.1415926535897;
        
        String area = String.format("%.5f", pi * r * r);
        String arc = String.format("%.5f", 2.0 * pi * r);

        System.out.println(area + " " + arc);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double pi = 3.1415926535897; pi 3.1415926535897 String area = String.format("%.5f", pi * r * r); area String.format("%.5f", pi * r * r) String.format String "%.5f" pi * r * r pi * r * r pi r r String arc = String.format("%.5f", 2.0 * pi * r); arc String.format("%.5f", 2.0 * pi * r) String.format String "%.5f" 2.0 * pi * r 2.0 * pi * r 2.0 pi r System.out.println(area + " " + arc) System.out.println System.out System System.out area + " " + arc area + " " + arc area " " arc String[] args args
import java.util.*;

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

        double pi = 3.1415926535897;
        
        String area = String.format("%.5f", pi * r * r);
        String arc = String.format("%.5f", 2.0 * pi * r);

        System.out.println(area + " " + arc);
    }
}
        