import java.util.Scanner;

public class Main{
    public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
        double r = stdin.nextDouble();
	double x = Math.PI;
	double s = (double)x*r*r;
	double l = (double)2*x*r;
	System.out.printf("%.6f %.6f %n", s, l);
    }
}

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

public class Main{
    public static void main(String[] args){
	Scanner stdin = new Scanner(System.in);
        double r = stdin.nextDouble();
	double x = Math.PI;
	double s = (double)x*r*r;
	double l = (double)2*x*r;
	System.out.printf("%.6f %.6f %n", s, l);
    }
}

	