import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double r = Double.parseDouble(strArr[0]);
        double area = r * r * Math.PI;
        double length = 2 * Math.PI * r;

        System.out.printf("%.6f %.6f\n", area,length);

    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double r = Double.parseDouble(strArr[0]);
        double area = r * r * Math.PI;
        double length = 2 * Math.PI * r;

        System.out.printf("%.6f %.6f\n", area,length);

    }
} Main public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double r = Double.parseDouble(strArr[0]);
        double area = r * r * Math.PI;
        double length = 2 * Math.PI * r;

        System.out.printf("%.6f %.6f\n", area,length);

    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double r = Double.parseDouble(strArr[0]);
        double area = r * r * Math.PI;
        double length = 2 * Math.PI * r;

        System.out.printf("%.6f %.6f\n", area,length);

    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] strArr = br.readLine().split(" "); strArr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " double r = Double.parseDouble(strArr[0]); r Double.parseDouble(strArr[0]) Double.parseDouble Double strArr[0] strArr 0 double area = r * r * Math.PI; area r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double length = 2 * Math.PI * r; length 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r System.out.printf("%.6f %.6f\n", area,length) System.out.printf System.out System System.out "%.6f %.6f\n" area length String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main{
    public static void main(String[] args) throws IOException{
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] strArr = br.readLine().split(" ");

        double r = Double.parseDouble(strArr[0]);
        double area = r * r * Math.PI;
        double length = 2 * Math.PI * r;

        System.out.printf("%.6f %.6f\n", area,length);

    }
}