import java.io.*;

class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        Double a = Double.parseDouble(num2[0]);

        double s = a * a * Math.PI;
        double l = (a + a) * Math.PI;
        String S = String.format("%.6f", s);
        String L = String.format("%.6f", l);

        System.out.println(S + " " + L);
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        Double a = Double.parseDouble(num2[0]);

        double s = a * a * Math.PI;
        double l = (a + a) * Math.PI;
        String S = String.format("%.6f", s);
        String L = String.format("%.6f", l);

        System.out.println(S + " " + L);
    }
} Main public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        Double a = Double.parseDouble(num2[0]);

        double s = a * a * Math.PI;
        double l = (a + a) * Math.PI;
        String S = String.format("%.6f", s);
        String L = String.format("%.6f", l);

        System.out.println(S + " " + L);
    } main {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        Double a = Double.parseDouble(num2[0]);

        double s = a * a * Math.PI;
        double l = (a + a) * Math.PI;
        String S = String.format("%.6f", s);
        String L = String.format("%.6f", l);

        System.out.println(S + " " + L);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String num1 = br.readLine(); num1 br.readLine() br.readLine br String[] num2 = num1.split(" "); num2 num1.split(" ") num1.split num1 " " Double a = Double.parseDouble(num2[0]); a Double.parseDouble(num2[0]) Double.parseDouble Double num2[0] num2 0 double s = a * a * Math.PI; s a * a * Math.PI a * a * Math.PI a a Math.PI Math Math.PI double l = (a + a) * Math.PI; l (a + a) * Math.PI (a + a) a a Math.PI Math Math.PI String S = String.format("%.6f", s); S String.format("%.6f", s) String.format String "%.6f" s String L = String.format("%.6f", l); L String.format("%.6f", l) String.format String "%.6f" l System.out.println(S + " " + L) System.out.println System.out System System.out S + " " + L S + " " + L S " " L String[] args args
import java.io.*;

class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        Double a = Double.parseDouble(num2[0]);

        double s = a * a * Math.PI;
        double l = (a + a) * Math.PI;
        String S = String.format("%.6f", s);
        String L = String.format("%.6f", l);

        System.out.println(S + " " + L);
    }
}