import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    Double r = scanner.nextDouble();
    String s = String.format("%.6f", r * r * Math.PI);
    String l = String.format("%.6f", 2 * r * Math.PI);
    System.out.println(s + " " + l);
  }
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    Double r = scanner.nextDouble();
    String s = String.format("%.6f", r * r * Math.PI);
    String l = String.format("%.6f", 2 * r * Math.PI);
    System.out.println(s + " " + l);
  }
} Main public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    Double r = scanner.nextDouble();
    String s = String.format("%.6f", r * r * Math.PI);
    String l = String.format("%.6f", 2 * r * Math.PI);
    System.out.println(s + " " + l);
  } main {
    Scanner scanner = new Scanner(System.in);
    Double r = scanner.nextDouble();
    String s = String.format("%.6f", r * r * Math.PI);
    String l = String.format("%.6f", 2 * r * Math.PI);
    System.out.println(s + " " + l);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) Double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner String s = String.format("%.6f", r * r * Math.PI); s String.format("%.6f", r * r * Math.PI) String.format String "%.6f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI String l = String.format("%.6f", 2 * r * Math.PI); l String.format("%.6f", 2 * r * Math.PI) String.format String "%.6f" 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.println(s + " " + l) System.out.println System.out System System.out s + " " + l s + " " + l s " " l String[] args args
import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    Double r = scanner.nextDouble();
    String s = String.format("%.6f", r * r * Math.PI);
    String l = String.format("%.6f", 2 * r * Math.PI);
    System.out.println(s + " " + l);
  }
}