import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }

    private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    }

    private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }

    private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    }

    private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    }
} Main public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    } main {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    } try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	} catch (Exception e) {
	    e.printStackTrace();
	} Exception e {
	    e.printStackTrace();
	} e.printStackTrace() e.printStackTrace e {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r)) System.out.printf System.out System System.out "%f %f\n" areaOfCircle(r) areaOfCircle r lengthOfCircumference(r) lengthOfCircumference r String[] args args private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    } areaOfCircle {
	return Math.pow(r, 2) * Math.PI;
    } return Math.pow(r, 2) * Math.PI; Math.pow(r, 2) * Math.PI Math.pow(r, 2) Math.pow Math r 2 Math.PI Math Math.PI Double r r private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    } lengthOfCircumference {
	return 2 * Math.PI * r;
    } return 2 * Math.PI * r; 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r Double r r public class Main {
    public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }

    private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    }

    private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    }
} public class Main {
    public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }

    private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    }

    private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
	try (Scanner sc = new Scanner(System.in)) {
	    double r = sc.nextDouble();
	    System.out.printf("%f %f\n", areaOfCircle(r), lengthOfCircumference(r));
	} catch (Exception e) {
	    e.printStackTrace();
	}
    }

    private static double areaOfCircle(Double r) {
	return Math.pow(r, 2) * Math.PI;
    }

    private static double lengthOfCircumference(Double r) {
	return 2 * Math.PI * r;
    }
}