import java.util.Scanner;

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

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