import java.util.Scanner;
import java.lang.Math;

class Main{

    public static void main(String[] args){

	Scanner scan = new Scanner(System.in);
	double r = scan.nextDouble();

	double area = r * r * Math.PI;
	double circumference = 2 * r * Math.PI;

	System.out.printf("%f %f\n", area, circumference);

    }

} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main{

    public static void main(String[] args){

	Scanner scan = new Scanner(System.in);
	double r = scan.nextDouble();

	double area = r * r * Math.PI;
	double circumference = 2 * r * Math.PI;

	System.out.printf("%f %f\n", area, circumference);

    }

} Main public static void main(String[] args){

	Scanner scan = new Scanner(System.in);
	double r = scan.nextDouble();

	double area = r * r * Math.PI;
	double circumference = 2 * r * Math.PI;

	System.out.printf("%f %f\n", area, circumference);

    } main {

	Scanner scan = new Scanner(System.in);
	double r = scan.nextDouble();

	double area = r * r * Math.PI;
	double circumference = 2 * r * Math.PI;

	System.out.printf("%f %f\n", area, circumference);

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

class Main{

    public static void main(String[] args){

	Scanner scan = new Scanner(System.in);
	double r = scan.nextDouble();

	double area = r * r * Math.PI;
	double circumference = 2 * r * Math.PI;

	System.out.printf("%f %f\n", area, circumference);

    }

}