import java.util.Scanner;

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

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