import java.util.Scanner;

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

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

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

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

	} main {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double are = 0; are 0 double circ = 0; circ 0 are = r * r * Math.PI are r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI circ = (r + r) * Math.PI circ (r + r) * Math.PI (r + r) r r Math.PI Math Math.PI System.out.printf("%f %f\n", are, circ) System.out.printf System.out System System.out "%f %f\n" are circ String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

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

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

	}
} Main
import java.util.Scanner;

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

		double r = sc.nextDouble();
		double are = 0;
		double circ = 0;

		are = r * r * Math.PI;
		circ = (r + r) * Math.PI;
				;
		System.out.printf("%f %f\n", are, circ);

	}
}