public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  } run {
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  } java.util.Scanner sc = new java.util.Scanner(in); sc new java.util.Scanner(in) double r; r r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI) System.out.printf System.out System System.out "%f %f%n" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI 2.0 * r * Math.PI 2.0 * r * Math.PI 2.0 r Math.PI Math Math.PI sc.close() sc.close sc java.io.InputStream in in java.io.PrintStream out out public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  } main {
    (new Main()).run(System.in, System.out);
  } (new Main()).run(System.in, System.out) (new Main()).run (new Main()) System.in System System.in System.out System System.out String[] args args public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
} Main
public class Main{
  public void run(java.io.InputStream in, java.io.PrintStream out){
    java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
    double r;
    r = sc.nextDouble();

    System.out.printf("%f %f%n", r * r * Math.PI, 2.0 * r * Math.PI);
/*fin*/
    sc.close();
  }
  public static void main(String[] args){
    (new Main()).run(System.in, System.out);
  }
}