import java.util.*;
import java.text.*;

class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double a = 3.14159265358979323846 * r * r;
        double l = 3.14159265358979323846 * r * 2;

        NumberFormat format = NumberFormat.getInstance();
        format.setMaximumFractionDigits(5);
        format.setMinimumFractionDigits(5);
        format.setGroupingUsed(false);
        System.out.println("" + format.format(a) + " " + format.format(l));
    }
} import java.util.*; util.* java import java.text.*; text.* java class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double a = 3.14159265358979323846 * r * r;
        double l = 3.14159265358979323846 * r * 2;

        NumberFormat format = NumberFormat.getInstance();
        format.setMaximumFractionDigits(5);
        format.setMinimumFractionDigits(5);
        format.setGroupingUsed(false);
        System.out.println("" + format.format(a) + " " + format.format(l));
    }
} Main public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double a = 3.14159265358979323846 * r * r;
        double l = 3.14159265358979323846 * r * 2;

        NumberFormat format = NumberFormat.getInstance();
        format.setMaximumFractionDigits(5);
        format.setMinimumFractionDigits(5);
        format.setGroupingUsed(false);
        System.out.println("" + format.format(a) + " " + format.format(l));
    } main {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double a = 3.14159265358979323846 * r * r;
        double l = 3.14159265358979323846 * r * 2;

        NumberFormat format = NumberFormat.getInstance();
        format.setMaximumFractionDigits(5);
        format.setMinimumFractionDigits(5);
        format.setGroupingUsed(false);
        System.out.println("" + format.format(a) + " " + format.format(l));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double a = 3.14159265358979323846 * r * r; a 3.14159265358979323846 * r * r 3.14159265358979323846 * r * r 3.14159265358979323846 r r double l = 3.14159265358979323846 * r * 2; l 3.14159265358979323846 * r * 2 3.14159265358979323846 * r * 2 3.14159265358979323846 r 2 NumberFormat format = NumberFormat.getInstance(); format NumberFormat.getInstance() NumberFormat.getInstance NumberFormat format.setMaximumFractionDigits(5) format.setMaximumFractionDigits format 5 format.setMinimumFractionDigits(5) format.setMinimumFractionDigits format 5 format.setGroupingUsed(false) format.setGroupingUsed format false System.out.println("" + format.format(a) + " " + format.format(l)) System.out.println System.out System System.out "" + format.format(a) + " " + format.format(l) " " "" + format.format(a) + " " + format.format(l) "" format.format(a) format.format format a " " format.format(l) format.format format l String[]args args
import java.util.*;
import java.text.*;

class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        double a = 3.14159265358979323846 * r * r;
        double l = 3.14159265358979323846 * r * 2;

        NumberFormat format = NumberFormat.getInstance();
        format.setMaximumFractionDigits(5);
        format.setMinimumFractionDigits(5);
        format.setGroupingUsed(false);
        System.out.println("" + format.format(a) + " " + format.format(l));
    }
}