import java.util.Scanner;
class Main{  
    public void yatary() { 
    Scanner sc = new Scanner(System.in);
        double r,f,men,syu;
          r = sc.nextDouble();
          f = 3.141592653589;
          men = r *1.0 * r * 1.0 * f;
          syu = r * 1.0 * 2 * f;
          System.out.printf("%2.6f %2.6f",men,syu);
    }
    public static void main(String[] args){ 
    new Main().yatary();   
   }
}  import java.util.Scanner; Scanner java.util class Main{  
    public void yatary() { 
    Scanner sc = new Scanner(System.in);
        double r,f,men,syu;
          r = sc.nextDouble();
          f = 3.141592653589;
          men = r *1.0 * r * 1.0 * f;
          syu = r * 1.0 * 2 * f;
          System.out.printf("%2.6f %2.6f",men,syu);
    }
    public static void main(String[] args){ 
    new Main().yatary();   
   }
} Main public void yatary() { 
    Scanner sc = new Scanner(System.in);
        double r,f,men,syu;
          r = sc.nextDouble();
          f = 3.141592653589;
          men = r *1.0 * r * 1.0 * f;
          syu = r * 1.0 * 2 * f;
          System.out.printf("%2.6f %2.6f",men,syu);
    } yatary { 
    Scanner sc = new Scanner(System.in);
        double r,f,men,syu;
          r = sc.nextDouble();
          f = 3.141592653589;
          men = r *1.0 * r * 1.0 * f;
          syu = r * 1.0 * 2 * f;
          System.out.printf("%2.6f %2.6f",men,syu);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r r f f men men syu; syu r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc f = 3.141592653589 f 3.141592653589 men = r *1.0 * r * 1.0 * f men r *1.0 * r * 1.0 * f 1.0 r r *1.0 * r * 1.0 * f r 1.0 r 1.0 f syu = r * 1.0 * 2 * f syu r * 1.0 * 2 * f 2 r * 1.0 * 2 * f r 1.0 2 f System.out.printf("%2.6f %2.6f",men,syu) System.out.printf System.out System System.out "%2.6f %2.6f" men syu public static void main(String[] args){ 
    new Main().yatary();   
   } main { 
    new Main().yatary();   
   } new Main().yatary() new Main().yatary new Main() String[] args args
import java.util.Scanner;
class Main{  
    public void yatary() { 
    Scanner sc = new Scanner(System.in);
        double r,f,men,syu;
          r = sc.nextDouble();
          f = 3.141592653589;
          men = r *1.0 * r * 1.0 * f;
          syu = r * 1.0 * 2 * f;
          System.out.printf("%2.6f %2.6f",men,syu);
    }
    public static void main(String[] args){ 
    new Main().yatary();   
   }
} 