import java.util.Scanner;

public class Main{

  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double pi = Math.PI;
    double r = scanner.nextDouble();
    double area = area(r);
    double length = length(r);
    System.out.printf("%f %f", area, length);
  }

  public static double area(double r){
    double pi = Math.PI;
    return r * r * pi;
  }

  public static double length(double r){
    double pi = Math.PI;
    return 2 * pi * r;
  }
} import java.util.Scanner; Scanner java.util public class Main{

  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double pi = Math.PI;
    double r = scanner.nextDouble();
    double area = area(r);
    double length = length(r);
    System.out.printf("%f %f", area, length);
  }

  public static double area(double r){
    double pi = Math.PI;
    return r * r * pi;
  }

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

  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double pi = Math.PI;
    double r = scanner.nextDouble();
    double area = area(r);
    double length = length(r);
    System.out.printf("%f %f", area, length);
  }

  public static double area(double r){
    double pi = Math.PI;
    return r * r * pi;
  }

  public static double length(double r){
    double pi = Math.PI;
    return 2 * pi * r;
  }
} public class Main{

  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double pi = Math.PI;
    double r = scanner.nextDouble();
    double area = area(r);
    double length = length(r);
    System.out.printf("%f %f", area, length);
  }

  public static double area(double r){
    double pi = Math.PI;
    return r * r * pi;
  }

  public static double length(double r){
    double pi = Math.PI;
    return 2 * pi * r;
  }
} Main
import java.util.Scanner;

public class Main{

  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    double pi = Math.PI;
    double r = scanner.nextDouble();
    double area = area(r);
    double length = length(r);
    System.out.printf("%f %f", area, length);
  }

  public static double area(double r){
    double pi = Math.PI;
    return r * r * pi;
  }

  public static double length(double r){
    double pi = Math.PI;
    return 2 * pi * r;
  }
}