import java.util.Scanner;

public class Main {

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    }

} import java.util.Scanner; Scanner java.util public class Main {

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    }

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    } main {
		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double men = (double)r * r *  3.14159265358979323846264338327950288; men (double)r * r *  3.14159265358979323846264338327950288 (double)r * r *  3.14159265358979323846264338327950288 (double)r r 3.14159265358979323846264338327950288 double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288; ensyu (double)r * 2 * 3.14159265358979323846264338327950288 (double)r * 2 * 3.14159265358979323846264338327950288 (double)r 2 3.14159265358979323846264338327950288 System.out.println(String.format("%f %f", men, ensyu)) System.out.println System.out System System.out String.format("%f %f", men, ensyu) String.format String "%f %f" men ensyu scan.close() scan.close scan String[] args args public class Main {

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    }

} public class Main {

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    }

} Main
import java.util.Scanner;

public class Main {

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

		double r = scan.nextDouble();//r = ??????
		double men = (double)r * r *  3.14159265358979323846264338327950288;
		double ensyu = (double)r * 2 * 3.14159265358979323846264338327950288;

		System.out.println(String.format("%f %f", men, ensyu));
        scan.close();
    }

}