import java.util.Scanner;

public class Main {

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

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    }
} import java.util.Scanner; Scanner java.util public class Main {

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

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = Double.parseDouble(scanner.next());

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    } main {
        Scanner scanner = new Scanner(System.in);
        double r = Double.parseDouble(scanner.next());

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = Double.parseDouble(scanner.next()); r Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner double area = r * r * Math.PI; area r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double perimeter = 2.0 * r * Math.PI; perimeter 2.0 * r * Math.PI 2.0 * r * Math.PI 2.0 r Math.PI Math Math.PI System.out.printf("%6.6f %6.6f", area, perimeter) System.out.printf System.out System System.out "%6.6f %6.6f" area perimeter String[] args args public class Main {

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

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    }
} public class Main {

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

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    }
} Main
import java.util.Scanner;

public class Main {

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

        double area = r * r * Math.PI;
        double perimeter = 2.0 * r * Math.PI;

        System.out.printf("%6.6f %6.6f", area, perimeter);
    }
}