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