import java.util.Scanner;

class Main {

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

        double circleArea = r * r * Math.PI;
        double lengthOfCircumference = r * 2 * Math.PI;

        System.out.printf("%f %f", circleArea, lengthOfCircumference);
    }

} import java.util.Scanner; Scanner java.util class Main {

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

        double circleArea = r * r * Math.PI;
        double lengthOfCircumference = r * 2 * Math.PI;

        System.out.printf("%f %f", circleArea, lengthOfCircumference);
    }

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

        double circleArea = r * r * Math.PI;
        double lengthOfCircumference = r * 2 * Math.PI;

        System.out.printf("%f %f", circleArea, lengthOfCircumference);
    } main {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double circleArea = r * r * Math.PI;
        double lengthOfCircumference = r * 2 * Math.PI;

        System.out.printf("%f %f", circleArea, lengthOfCircumference);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner double circleArea = r * r * Math.PI; circleArea r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double lengthOfCircumference = r * 2 * Math.PI; lengthOfCircumference r * 2 * Math.PI r * 2 * Math.PI r 2 Math.PI Math Math.PI System.out.printf("%f %f", circleArea, lengthOfCircumference) System.out.printf System.out System System.out "%f %f" circleArea lengthOfCircumference String[] args args
import java.util.Scanner;

class Main {

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

        double circleArea = r * r * Math.PI;
        double lengthOfCircumference = r * 2 * Math.PI;

        System.out.printf("%f %f", circleArea, lengthOfCircumference);
    }

}