import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());
		double p = Math.PI;

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

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

		System.out.printf("%f %f\n",r*r*p,2*r*p);
	} main {
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());
		double p = Math.PI;

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

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

		System.out.printf("%f %f\n",r*r*p,2*r*p);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = Double.parseDouble(sc.next());
		double p = Math.PI;

		System.out.printf("%f %f\n",r*r*p,2*r*p);
	}
}