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

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.text.DecimalFormat; DecimalFormat java.text public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    } main {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    } try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        } catch (IOException e) {
            System.err.println(e);
        } IOException e {
            System.err.println(e);
        } System.err.println(e) System.err.println System.err System System.err e {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } 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 String[] strArray = new String[1]; strArray new String[1] 1 double[] doubleArray = new double[1]; doubleArray new double[1] 1 DecimalFormat df = new DecimalFormat("0.000000"); df new DecimalFormat("0.000000") strArray = line.split("\\s") strArray line.split("\\s") line.split line "\\s" for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} doubleArray[i] = Double.parseDouble(strArray[i]) doubleArray[i] doubleArray i Double.parseDouble(strArray[i]) Double.parseDouble Double strArray[i] strArray i System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI)) System.out.println System.out System System.out df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI) df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI) df.format(doubleArray[0]*doubleArray[0]*Math.PI) df.format df doubleArray[0]*doubleArray[0]*Math.PI doubleArray[0]*doubleArray[0]*Math.PI doubleArray[0] doubleArray 0 doubleArray[0] doubleArray 0 Math.PI Math Math.PI " " df.format(doubleArray[0]*2*Math.PI) df.format df doubleArray[0]*2*Math.PI doubleArray[0]*2*Math.PI doubleArray[0] doubleArray 0 2 Math.PI Math Math.PI br.close() br.close br String[] args args public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;

public class Main {

    public static void main(String[] args) {
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String line = br.readLine();
            String[] strArray = new String[1];
            double[] doubleArray = new double[1];
            DecimalFormat df = new DecimalFormat("0.000000");
            
            strArray = line.split("\\s");
            
            for (int i = 0; i < strArray.length; i++) {
				doubleArray[i] = Double.parseDouble(strArray[i]);
			} 
            System.out.println(df.format(doubleArray[0]*doubleArray[0]*Math.PI)+" "+df.format(doubleArray[0]*2*Math.PI));
            br.close();
        } catch (IOException e) {
            System.err.println(e);
        }
    }
}