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

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_B
 * 
 * @author chrone
 * 
 */
public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main private final static String SPACE = " "; SPACE " " public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } catch (Exception e) {
            System.exit(-1);
        } Exception e {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in)); stdReader new BufferedReader(
                    new InputStreamReader(System.in)) String sStr; sStr while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            } (sStr = stdReader.readLine()) != null (sStr = stdReader.readLine()) sStr stdReader.readLine() stdReader.readLine stdReader null {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            } String[] inputs = sStr.split(" "); inputs sStr.split(" ") sStr.split sStr " " double r = Double.valueOf(inputs[0]); r Double.valueOf(inputs[0]) Double.valueOf Double inputs[0] inputs 0 String area = String.format("%.5f", r*r*Math.PI); area String.format("%.5f", r*r*Math.PI) String.format String "%.5f" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI System.out.println(area) System.out.println System.out System System.out area System.out.print(SPACE) System.out.print System.out System System.out SPACE String length = String.format("%.5f", 2*Math.PI*r); length String.format("%.5f", 2*Math.PI*r) String.format String "%.5f" 2*Math.PI*r 2*Math.PI*r 2 Math.PI Math Math.PI r System.out.print( length ) System.out.print System.out System System.out length stdReader.close() stdReader.close stdReader String[] args args public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_B
 * 
 * @author chrone
 * 
 */
public class Main {
    
    private final static String SPACE = " ";
    
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                double r = Double.valueOf(inputs[0]);

                String area = String.format("%.5f", r*r*Math.PI);
                System.out.println(area);
                System.out.print(SPACE);
                String length = String.format("%.5f", 2*Math.PI*r);
                System.out.print( length );

            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
}