import java.util.*;
import java.text.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    }
} import java.util.*; util.* java import java.text.*; text.* java public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    }
} Main private static final Scanner scn = new Scanner(System.in); scn new Scanner(System.in) public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    } main {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    } double r = scn.nextDouble(); r scn.nextDouble() scn.nextDouble scn DecimalFormat df = new DecimalFormat("#.#####"); df new DecimalFormat("#.#####") System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        ) System.out.println System.out System System.out df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2) df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2) df.format(Math.PI * Math.pow(r, 2)) df.format df Math.PI * Math.pow(r, 2) Math.PI Math Math.PI Math.pow(r, 2) Math.pow Math r 2 " " df.format(Math.PI * r * 2) df.format df Math.PI * r * 2 Math.PI * r * 2 Math.PI Math Math.PI r 2 String[] args args public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    }
} public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    }
} Main
import java.util.*;
import java.text.*;

public class Main {
    private static final Scanner scn = new Scanner(System.in);
    
    public static void main(String[] args) {
        double r = scn.nextDouble();
        DecimalFormat df = new DecimalFormat("#.#####");
        System.out.println(
          df.format(Math.PI * Math.pow(r, 2)) + " " +
          df.format(Math.PI * r * 2)
        );
    }
}