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

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    } main {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    } BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in)); br new BufferedReader(
            new InputStreamReader(System.in)) String data = br.readLine(); data br.readLine() br.readLine br double r = Double.parseDouble(data); r Double.parseDouble(data) Double.parseDouble Double data double circle1 = Math.PI * Math.pow(r, 2); circle1 Math.PI * Math.pow(r, 2) Math.PI Math Math.PI Math.pow(r, 2) Math.pow Math r 2 double circle2 = 2 * Math.PI * r; circle2 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2)) System.out
            .println System.out System System.out String.format("%1$.5f %2$.5f", circle1, circle2) String.format String "%1$.5f %2$.5f" circle1 circle2 String[] args args public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    }
} public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(
            new InputStreamReader(System.in));
        String data = br.readLine();
        double r = Double.parseDouble(data);
        double circle1 = Math.PI * Math.pow(r, 2);
        double circle2 = 2 * Math.PI * r;

        System.out
            .println(String.format("%1$.5f %2$.5f", circle1, circle2));
    }
}