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

        double area = Math.PI * r * r;
        double circumference = 2 * Math.PI * r;

        String areastr = String.format("%.6f", area);
        String circumferencestr = String.format("%.6f", circumference);

        System.out.println(areastr + " " + circumferencestr);

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

        double area = Math.PI * r * r;
        double circumference = 2 * Math.PI * r;

        String areastr = String.format("%.6f", area);
        String circumferencestr = String.format("%.6f", circumference);

        System.out.println(areastr + " " + circumferencestr);

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

        double area = Math.PI * r * r;
        double circumference = 2 * Math.PI * r;

        String areastr = String.format("%.6f", area);
        String circumferencestr = String.format("%.6f", circumference);

        System.out.println(areastr + " " + circumferencestr);

    } main {
        Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();

        double area = Math.PI * r * r;
        double circumference = 2 * Math.PI * r;

        String areastr = String.format("%.6f", area);
        String circumferencestr = String.format("%.6f", circumference);

        System.out.println(areastr + " " + circumferencestr);

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

        double area = Math.PI * r * r;
        double circumference = 2 * Math.PI * r;

        String areastr = String.format("%.6f", area);
        String circumferencestr = String.format("%.6f", circumference);

        System.out.println(areastr + " " + circumferencestr);

    }
}