import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    double r = stdin.nextDouble();
    System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
  }

} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    double r = stdin.nextDouble();
    System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
  }

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

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    double r = stdin.nextDouble();
    System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
  }

} public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    double r = stdin.nextDouble();
    System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
  }

} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner stdin = new Scanner(System.in);
    double r = stdin.nextDouble();
    System.out.printf("%f %f%n", Math.pow(r, 2) * Math.PI, 2 * r * Math.PI);
  }

}