import java.util.Scanner;

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

class Main{
  public static void main(String[] arg){
  	double r, menseki, ensyu;
  	Scanner in = new Scanner(System.in);
  	r = in.nextDouble();
  	menseki = r*r*Math.PI;
  	ensyu = r*2*Math.PI;
  	System.out.printf("%.6f %.6f",menseki,ensyu);
	}
}