import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r =  sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double pi = Math.PI; pi Math.PI Math Math.PI double area = Math.pow(r, 2) * pi; area Math.pow(r, 2) * pi Math.pow(r, 2) Math.pow Math r 2 pi double Cir =2 * pi * r; Cir 2 * pi * r 2 * pi * r 2 pi r System.out.printf("%.5f %.5f\n",area,Cir) System.out.printf System.out System System.out "%.5f %.5f\n" area Cir String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	}
} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		double r =  sc.nextDouble();
		double pi = Math.PI;
		double area = Math.pow(r, 2) * pi; // ??¢???
		double Cir =2 * pi * r; //Circumference ?????¨
		System.out.printf("%.5f %.5f\n",area,Cir);
	}
}