import static java.lang.Math.*;

import java.util.Scanner;

class Main {

	public static void main(String[] args) {

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

		System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
	}

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

	public static void main(String[] args) {

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

		System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
	}

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

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

		System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
	} main {

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

		System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
	} 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 System.out.printf("%f %f",PI*pow(r,2),2*PI*r) System.out.printf System.out System System.out "%f %f" PI*pow(r,2) PI pow(r,2) pow r 2 2*PI*r 2*PI*r 2 PI r String[] args args
import static java.lang.Math.*;

import java.util.Scanner;

class Main {

	public static void main(String[] args) {

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

		System.out.printf("%f %f",PI*pow(r,2),2*PI*r);
	}

}