import java.util.Scanner;
public class Main{
public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
} 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();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
} Main public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
} main {
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc sc.close() sc.close sc System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI) System.out.printf System.out System System.out "%f %f" r * r* Math.PI r * r* Math.PI r r Math.PI Math Math.PI 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI String[] args args public class Main{
public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
} public class Main{
public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
} Main
import java.util.Scanner;
public class Main{
public static void main(String[] args){
	Scanner sc = new Scanner(System.in);
	double r = sc.nextDouble();
	sc.close();
	System.out.printf("%f %f", r * r* Math.PI, 2 * r * Math.PI);
}
}