import java.io.*;
import java.util.*;

class Main { 
public static void main (String[] args){
  Scanner scan = new Scanner(System.in);

  double r = scan.nextDouble();
  double x = Math.PI;

  System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);

}
} import java.io.*; io.* java import java.util.*; util.* java class Main { 
public static void main (String[] args){
  Scanner scan = new Scanner(System.in);

  double r = scan.nextDouble();
  double x = Math.PI;

  System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);

}
} Main public static void main (String[] args){
  Scanner scan = new Scanner(System.in);

  double r = scan.nextDouble();
  double x = Math.PI;

  System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);

} main {
  Scanner scan = new Scanner(System.in);

  double r = scan.nextDouble();
  double x = Math.PI;

  System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);

} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double x = Math.PI; x Math.PI Math Math.PI System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x) System.out.printf System.out System System.out "%.5f %.5f\n" r * r * x r * r * x r r x r * 2 * x r * 2 * x r 2 x String[] args args
import java.io.*;
import java.util.*;

class Main { 
public static void main (String[] args){
  Scanner scan = new Scanner(System.in);

  double r = scan.nextDouble();
  double x = Math.PI;

  System.out.printf("%.5f %.5f\n",r * r * x,r * 2 * x);

}
}