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

public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    }
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.*; util.* java public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    }
} Main public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    } main {
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc sc.close() sc.close sc DecimalFormat df1 = new DecimalFormat("0.00000"); df1 new DecimalFormat("0.00000") System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI)) System.out.println System.out System System.out df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI) df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI) df1.format(r*r*Math.PI) df1.format df1 r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI " " df1.format(2*r*Math.PI) df1.format df1 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI String[] args args public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    }
} public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    }
} Main
import java.text.DecimalFormat;
import java.util.*;

public class Main {
    public static void main(String[] args)  throws java.io.IOException{
        Scanner sc = new Scanner(System.in);
        Double r = sc.nextDouble();
        sc.close();
        DecimalFormat df1 = new DecimalFormat("0.00000");
        System.out.println(df1.format(r*r*Math.PI) + " " + df1.format(2*r*Math.PI));
    }
}