import java.io.*;

class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        
        double r = Double.parseDouble(br.readLine());
        
        double b = Math.PI * r * r;
        double c = 2 * Math.PI * r;

        System.out.printf("%.5f %.5f\n", b, c);
    }
} import java.io.*; io.* java class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        
        double r = Double.parseDouble(br.readLine());
        
        double b = Math.PI * r * r;
        double c = 2 * Math.PI * r;

        System.out.printf("%.5f %.5f\n", b, c);
    }
} Main public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        
        double r = Double.parseDouble(br.readLine());
        
        double b = Math.PI * r * r;
        double c = 2 * Math.PI * r;

        System.out.printf("%.5f %.5f\n", b, c);
    } main {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        
        double r = Double.parseDouble(br.readLine());
        
        double b = Math.PI * r * r;
        double c = 2 * Math.PI * r;

        System.out.printf("%.5f %.5f\n", b, c);
    } BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); br new BufferedReader (new InputStreamReader (System.in)) double r = Double.parseDouble(br.readLine()); r Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br double b = Math.PI * r * r; b Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r double c = 2 * Math.PI * r; c 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r System.out.printf("%.5f %.5f\n", b, c) System.out.printf System.out System System.out "%.5f %.5f\n" b c String[ ] args args
import java.io.*;

class Main
{
    public static void main (String[ ] args) throws Exception
    {
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        
        double r = Double.parseDouble(br.readLine());
        
        double b = Math.PI * r * r;
        double c = 2 * Math.PI * r;

        System.out.printf("%.5f %.5f\n", b, c);
    }
}