
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



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


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



	} main {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan scan.close() scan.close scan double dbPi = Math.PI; dbPi Math.PI Math Math.PI double outLine = 2 * dbPi * r; outLine 2 * dbPi * r 2 * dbPi * r 2 dbPi r double area = dbPi * (r * r); area dbPi * (r * r) dbPi (r * r) r r System.out.printf("%.6f",area) System.out.printf System.out System System.out "%.6f" area System.out.printf(" " + "%.6f",outLine) System.out.printf System.out System System.out " " + "%.6f" " " "%.6f" outLine String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



	}
} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



	}
} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????


		Scanner scan = new Scanner(System.in);

		double r = scan.nextDouble();

		scan.close();

		double dbPi = Math.PI;

		//System.out.println("??" + dbPi);

		double outLine = 2 * dbPi * r;
		double area = dbPi * (r * r);
		System.out.printf("%.6f",area);
		System.out.printf(" " + "%.6f",outLine);



	}
}