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

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        double r = Double.parseDouble(s);
        //System.out.println(r);
        String x = String.format("%.6f",(r * r * Math.PI));
        String y = String.format("%.6f",( 2 * Math.PI *r));
        System.out.println(x+" "+y);
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        double r = Double.parseDouble(s);
        //System.out.println(r);
        String x = String.format("%.6f",(r * r * Math.PI));
        String y = String.format("%.6f",( 2 * Math.PI *r));
        System.out.println(x+" "+y);
    }
} Main public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        double r = Double.parseDouble(s);
        //System.out.println(r);
        String x = String.format("%.6f",(r * r * Math.PI));
        String y = String.format("%.6f",( 2 * Math.PI *r));
        System.out.println(x+" "+y);
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        double r = Double.parseDouble(s);
        //System.out.println(r);
        String x = String.format("%.6f",(r * r * Math.PI));
        String y = String.format("%.6f",( 2 * Math.PI *r));
        System.out.println(x+" "+y);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s = br.readLine(); s br.readLine() br.readLine br double r = Double.parseDouble(s); r Double.parseDouble(s) Double.parseDouble Double s String x = String.format("%.6f",(r * r * Math.PI)); x String.format("%.6f",(r * r * Math.PI)) String.format String "%.6f" (r * r * Math.PI) r * r * Math.PI r r Math.PI Math Math.PI String y = String.format("%.6f",( 2 * Math.PI *r)); y String.format("%.6f",( 2 * Math.PI *r)) String.format String "%.6f" ( 2 * Math.PI *r) 2 * Math.PI *r 2 Math.PI Math Math.PI r System.out.println(x+" "+y) System.out.println System.out System System.out x+" "+y x+" "+y x " " y String args[] args
import java.util.*;
import java.io.*;

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s = br.readLine();
        double r = Double.parseDouble(s);
        //System.out.println(r);
        String x = String.format("%.6f",(r * r * Math.PI));
        String y = String.format("%.6f",( 2 * Math.PI *r));
        System.out.println(x+" "+y);
    }
}