import java.util.Scanner;

class Main{
    public static void main(String[] args){
        double r,area,length;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);

		r = scanner.nextDouble();

    	area = r*r*Math.PI;
    	length = 2*r*Math.PI;
    	//println?????¨??¨??????1.0E9??¨????????????AOJ??????????????¨
    	//??????????????????????????§printf????????¨???
    	System.out.printf("%f %f",area,length);
    	scanner.close();
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        double r,area,length;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);

		r = scanner.nextDouble();

    	area = r*r*Math.PI;
    	length = 2*r*Math.PI;
    	//println?????¨??¨??????1.0E9??¨????????????AOJ??????????????¨
    	//??????????????????????????§printf????????¨???
    	System.out.printf("%f %f",area,length);
    	scanner.close();
    }
} Main public static void main(String[] args){
        double r,area,length;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);

		r = scanner.nextDouble();

    	area = r*r*Math.PI;
    	length = 2*r*Math.PI;
    	//println?????¨??¨??????1.0E9??¨????????????AOJ??????????????¨
    	//??????????????????????????§printf????????¨???
    	System.out.printf("%f %f",area,length);
    	scanner.close();
    } main {
        double r,area,length;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);

		r = scanner.nextDouble();

    	area = r*r*Math.PI;
    	length = 2*r*Math.PI;
    	//println?????¨??¨??????1.0E9??¨????????????AOJ??????????????¨
    	//??????????????????????????§printf????????¨???
    	System.out.printf("%f %f",area,length);
    	scanner.close();
    } double r r area area length; length Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) r = scanner.nextDouble() r scanner.nextDouble() scanner.nextDouble scanner area = r*r*Math.PI area r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI length = 2*r*Math.PI length 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI System.out.printf("%f %f",area,length) System.out.printf System.out System System.out "%f %f" area length scanner.close() scanner.close scanner String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        double r,area,length;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);

		r = scanner.nextDouble();

    	area = r*r*Math.PI;
    	length = 2*r*Math.PI;
    	//println?????¨??¨??????1.0E9??¨????????????AOJ??????????????¨
    	//??????????????????????????§printf????????¨???
    	System.out.printf("%f %f",area,length);
    	scanner.close();
    }
}