import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		double r = Double.parseDouble(s.next());
		System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2);
	}
} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		double r = Double.parseDouble(s.next());
		System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2);
	}
} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args) {
		double r = Double.parseDouble(s.next());
		System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2);
	} main {
		double r = Double.parseDouble(s.next());
		System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2);
	} double r = Double.parseDouble(s.next()); r Double.parseDouble(s.next()) Double.parseDouble Double s.next() s.next s System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2) System.out.printf System.out System System.out "%f %f \n" Math.PI*r*r Math.PI*r*r Math.PI Math Math.PI r r Math.PI*r*2 Math.PI*r*2 Math.PI Math Math.PI r 2 String[] args args
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		double r = Double.parseDouble(s.next());
		System.out.printf("%f %f \n",Math.PI*r*r,Math.PI*r*2);
	}
}