import java.util.Scanner;

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

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