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

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br double r = Double.parseDouble(line); r Double.parseDouble(line) Double.parseDouble Double line System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI) System.out.printf System.out System System.out "%.6f %.6f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI 2 * r  * Math.PI 2 * r  * Math.PI 2 r Math.PI Math Math.PI System.out.println("") System.out.println System.out System System.out "" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        
        double r = Double.parseDouble(line);
        
        System.out.printf("%.6f %.6f", r * r * Math.PI, 2 * r  * Math.PI);
        System.out.println("");
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

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