import java.util.Scanner;
import java.lang.Math;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    } main {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	} scan.hasNext() scan.hasNext scan {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	} String input = scan.nextLine(); input scan.nextLine() scan.nextLine scan String[] inputs = input.split(" "); inputs input.split(" ") input.split input " " double r = Double.parseDouble(inputs[0]); r Double.parseDouble(inputs[0]) Double.parseDouble Double inputs[0] inputs 0 double pi = Math.PI; pi Math.PI Math Math.PI double area = r * r * pi; area r * r * pi r * r * pi r r pi double circumference = 2 * r * pi; circumference 2 * r * pi 2 * r * pi 2 r pi System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference)) System.out.println System.out System System.out String.format("%.6f", area) + " " +String.format("%.6f", circumference) String.format("%.6f", area) + " " +String.format("%.6f", circumference) String.format("%.6f", area) String.format String "%.6f" area " " String.format("%.6f", circumference) String.format String "%.6f" circumference String[] args args public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    }
} public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    }
} Main
import java.util.Scanner;
import java.lang.Math;
public class Main{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while(scan.hasNext()) {
	    String input = scan.nextLine();
	    String[] inputs = input.split(" ");
	    double r = Double.parseDouble(inputs[0]);
	    double pi = Math.PI;
	    double area = r * r * pi;
	    double circumference = 2 * r * pi;
	    System.out.println(String.format("%.6f", area) + " " +String.format("%.6f", circumference));
	}
    }
}