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

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        } String strArr= br.readLine(); strArr br.readLine() br.readLine br double a=Double.parseDouble(strArr); a Double.parseDouble(strArr) Double.parseDouble Double strArr double pi=3.14159265358979323846264338327950288419716939937510582; pi 3.14159265358979323846264338327950288419716939937510582 String men=String.format("%.5f",a*a*pi); men String.format("%.5f",a*a*pi) String.format String "%.5f" a*a*pi a*a*pi a a pi String syu=String.format("%.5f",a*2*pi); syu String.format("%.5f",a*2*pi) String.format String "%.5f" a*2*pi a*2*pi a 2 pi System.out.println(men+" "+syu) System.out.println System.out System System.out men+" "+syu men+" "+syu men " " syu String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        {
            String strArr= br.readLine();
            double a=Double.parseDouble(strArr);
            double pi=3.14159265358979323846264338327950288419716939937510582;

            String men=String.format("%.5f",a*a*pi);
            String syu=String.format("%.5f",a*2*pi);
            System.out.println(men+" "+syu);
        }
    }
}