import java.util.Scanner;

class Main{
  public static void main(String[] args) {
    
	  Scanner sc = new Scanner(System.in);
	  
	  double r = sc.nextDouble();
	  double ritu = Math.PI;
	  double men = 0;
	  double shuu = 0;
	  
	  //String  = String.format("%.5f", );
	  men = r*r*ritu;
	  shuu = 2 * ritu * r;
	  
	  String strmen = String.format("%.6f",men );
	  String strshuu = String.format("%.6f",shuu );
	  
	  System.out.println(strmen+" "+strshuu);
  }
} 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 ritu = Math.PI;
	  double men = 0;
	  double shuu = 0;
	  
	  //String  = String.format("%.5f", );
	  men = r*r*ritu;
	  shuu = 2 * ritu * r;
	  
	  String strmen = String.format("%.6f",men );
	  String strshuu = String.format("%.6f",shuu );
	  
	  System.out.println(strmen+" "+strshuu);
  }
} Main public static void main(String[] args) {
    
	  Scanner sc = new Scanner(System.in);
	  
	  double r = sc.nextDouble();
	  double ritu = Math.PI;
	  double men = 0;
	  double shuu = 0;
	  
	  //String  = String.format("%.5f", );
	  men = r*r*ritu;
	  shuu = 2 * ritu * r;
	  
	  String strmen = String.format("%.6f",men );
	  String strshuu = String.format("%.6f",shuu );
	  
	  System.out.println(strmen+" "+strshuu);
  } main {
    
	  Scanner sc = new Scanner(System.in);
	  
	  double r = sc.nextDouble();
	  double ritu = Math.PI;
	  double men = 0;
	  double shuu = 0;
	  
	  //String  = String.format("%.5f", );
	  men = r*r*ritu;
	  shuu = 2 * ritu * r;
	  
	  String strmen = String.format("%.6f",men );
	  String strshuu = String.format("%.6f",shuu );
	  
	  System.out.println(strmen+" "+strshuu);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double ritu = Math.PI; ritu Math.PI Math Math.PI double men = 0; men 0 double shuu = 0; shuu 0 men = r*r*ritu men r*r*ritu r*r*ritu r r ritu shuu = 2 * ritu * r shuu 2 * ritu * r 2 * ritu * r 2 ritu r String strmen = String.format("%.6f",men ); strmen String.format("%.6f",men ) String.format String "%.6f" men String strshuu = String.format("%.6f",shuu ); strshuu String.format("%.6f",shuu ) String.format String "%.6f" shuu System.out.println(strmen+" "+strshuu) System.out.println System.out System System.out strmen+" "+strshuu strmen+" "+strshuu strmen " " strshuu 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 ritu = Math.PI;
	  double men = 0;
	  double shuu = 0;
	  
	  //String  = String.format("%.5f", );
	  men = r*r*ritu;
	  shuu = 2 * ritu * r;
	  
	  String strmen = String.format("%.6f",men );
	  String strshuu = String.format("%.6f",shuu );
	  
	  System.out.println(strmen+" "+strshuu);
  }
}