import java.util.*;                                                                                  

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    }   
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    }   
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    } main {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double A = (double)r * r * Math.PI; A (double)r * r * Math.PI (double)r * r * Math.PI (double)r r Math.PI Math Math.PI double L = (double)r * 2 * Math.PI; L (double)r * 2 * Math.PI (double)r * 2 * Math.PI (double)r 2 Math.PI Math Math.PI System.out.println(String.format("%f", A) + " " + String.format("%f", L)) System.out.println System.out System System.out String.format("%f", A) + " " + String.format("%f", L) String.format("%f", A) + " " + String.format("%f", L) String.format("%f", A) String.format String "%f" A " " String.format("%f", L) String.format String "%f" L String[] args args public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    }   
} public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    }   
} Main
import java.util.*;                                                                                  

public class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();

        double A = (double)r * r * Math.PI;
        double L = (double)r * 2 * Math.PI;
        System.out.println(String.format("%f", A) + " " + String.format("%f", L));
    }   
}