import java.util.Scanner;
class Main{
    public static void main(String[] args){
  
            Scanner scan = new Scanner(System.in);
  
            double r =  scan.nextDouble();
            double s,l,p = 3.141592653589;
          
            s = r*r*p;
            l = 2*r*p;
  
           System.out.printf("%f %f\n",s,l);
        }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
  
            Scanner scan = new Scanner(System.in);
  
            double r =  scan.nextDouble();
            double s,l,p = 3.141592653589;
          
            s = r*r*p;
            l = 2*r*p;
  
           System.out.printf("%f %f\n",s,l);
        }
} Main public static void main(String[] args){
  
            Scanner scan = new Scanner(System.in);
  
            double r =  scan.nextDouble();
            double s,l,p = 3.141592653589;
          
            s = r*r*p;
            l = 2*r*p;
  
           System.out.printf("%f %f\n",s,l);
        } main {
  
            Scanner scan = new Scanner(System.in);
  
            double r =  scan.nextDouble();
            double s,l,p = 3.141592653589;
          
            s = r*r*p;
            l = 2*r*p;
  
           System.out.printf("%f %f\n",s,l);
        } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r =  scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double s s l l p = 3.141592653589; p 3.141592653589 s = r*r*p s r*r*p r*r*p r r p l = 2*r*p l 2*r*p 2*r*p 2 r p System.out.printf("%f %f\n",s,l) System.out.printf System.out System System.out "%f %f\n" s l String[] args args
import java.util.Scanner;
class Main{
    public static void main(String[] args){
  
            Scanner scan = new Scanner(System.in);
  
            double r =  scan.nextDouble();
            double s,l,p = 3.141592653589;
          
            s = r*r*p;
            l = 2*r*p;
  
           System.out.printf("%f %f\n",s,l);
        }
}