import java.util.Scanner;                                                                     
class Main {
 
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
          double a = in.nextDouble();
          double c = (double)2*3.141592653589*a;
          double b = (double)a*a*3.141592653589;
          System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
    }
} import java.util.Scanner; Scanner java.util class Main {
 
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
          double a = in.nextDouble();
          double c = (double)2*3.141592653589*a;
          double b = (double)a*a*3.141592653589;
          System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);
          double a = in.nextDouble();
          double c = (double)2*3.141592653589*a;
          double b = (double)a*a*3.141592653589;
          System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
    } main {
        Scanner in = new Scanner(System.in);
          double a = in.nextDouble();
          double c = (double)2*3.141592653589*a;
          double b = (double)a*a*3.141592653589;
          System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) double a = in.nextDouble(); a in.nextDouble() in.nextDouble in double c = (double)2*3.141592653589*a; c (double)2*3.141592653589*a (double)2*3.141592653589*a (double)2 3.141592653589 a double b = (double)a*a*3.141592653589; b (double)a*a*3.141592653589 (double)a*a*3.141592653589 (double)a a 3.141592653589 System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c)) System.out.println System.out System System.out String.format("%.6f",b) + " " +String.format("%.6f",c) String.format("%.6f",b) + " " +String.format("%.6f",c) String.format("%.6f",b) String.format String "%.6f" b " " String.format("%.6f",c) String.format String "%.6f" c String[] args args
import java.util.Scanner;                                                                     
class Main {
 
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
          double a = in.nextDouble();
          double c = (double)2*3.141592653589*a;
          double b = (double)a*a*3.141592653589;
          System.out.println(String.format("%.6f",b) + " " +String.format("%.6f",c));
    }
}