import java.util.Scanner;

  
public class Main {
	
	
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  }
} import java.util.Scanner; Scanner java.util public class Main {
	
	
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  }
} Main public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  } main {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) Double r=Double.parseDouble(sc.next()); r Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double p=Math.PI; p Math.PI Math Math.PI double s=r*r*p; s r*r*p r*r*p r r p double l=2*r*p; l 2*r*p 2*r*p 2 r p System.out.printf("%.6f",s) System.out.printf System.out System System.out "%.6f" s System.out.print(" ") System.out.print System.out System System.out " " System.out.printf("%.6f\n",l) System.out.printf System.out System System.out "%.6f\n" l String[] args args public class Main {
	
	
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  }
} public class Main {
	
	
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  }
} Main
import java.util.Scanner;

  
public class Main {
	
	
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	Double r=Double.parseDouble(sc.next());
	double p=Math.PI;
	double s=r*r*p;
	double l=2*r*p;
	System.out.printf("%.6f",s);
	System.out.print(" ");
	System.out.printf("%.6f\n",l);
	
  }
}