import java.util.*;

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

class Main {
   public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      final double PI = 3.141592653589;
      double r = sc.nextDouble();
      System.out.printf("%f %f\n", (r * r * PI), (2 * r * PI));
   }
}