import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());
        double a = Double.parseDouble(st.nextToken());
        System.out.printf("%.6f ",a*a*Math.PI);
        System.out.printf("%.6f\n",a*2*Math.PI);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());
        double a = Double.parseDouble(st.nextToken());
        System.out.printf("%.6f ",a*a*Math.PI);
        System.out.printf("%.6f\n",a*2*Math.PI);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());
        double a = Double.parseDouble(st.nextToken());
        System.out.printf("%.6f ",a*a*Math.PI);
        System.out.printf("%.6f\n",a*2*Math.PI);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());
        double a = Double.parseDouble(st.nextToken());
        System.out.printf("%.6f ",a*a*Math.PI);
        System.out.printf("%.6f\n",a*2*Math.PI);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) double a = Double.parseDouble(st.nextToken()); a Double.parseDouble(st.nextToken()) Double.parseDouble Double st.nextToken() st.nextToken st System.out.printf("%.6f ",a*a*Math.PI) System.out.printf System.out System System.out "%.6f " a*a*Math.PI a*a*Math.PI a a Math.PI Math Math.PI System.out.printf("%.6f\n",a*2*Math.PI) System.out.printf System.out System System.out "%.6f\n" a*2*Math.PI a*2*Math.PI a 2 Math.PI Math Math.PI String[] args args
import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer(br.readLine());
        double a = Double.parseDouble(st.nextToken());
        System.out.printf("%.6f ",a*a*Math.PI);
        System.out.printf("%.6f\n",a*2*Math.PI);
    }
}