import java.io.*;
 
public class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    }
} Main public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br double r = Double.parseDouble(str); r Double.parseDouble(str) Double.parseDouble Double str double menseki =(double)r * (double)r * 3.141592653589; menseki (double)r * (double)r * 3.141592653589 (double)r * (double)r * 3.141592653589 (double)r (double)r 3.141592653589 double ensyu =(double)2 * 3.141592653589 * (double)r; ensyu (double)2 * 3.141592653589 * (double)r (double)2 * 3.141592653589 * (double)r (double)2 3.141592653589 (double)r System.out.printf("%.6f %.6f\n", menseki, ensyu) System.out.printf System.out System System.out "%.6f %.6f\n" menseki ensyu String[] arg arg public class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    }
} public class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    }
} Main
import java.io.*;
 
public class Main {
    public static void main(String[] arg)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String str = br.readLine();

        double r = Double.parseDouble(str);
 
        double menseki =(double)r * (double)r * 3.141592653589;
        double ensyu =(double)2 * 3.141592653589 * (double)r;

         System.out.printf("%.6f %.6f\n", menseki, ensyu);
    }
}