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