import java.text.DecimalFormat;
import java.util.Scanner;

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    }
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    } main {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner double a a b; b a = 3.141592653589 * r * r a 3.141592653589 * r * r 3.141592653589 * r * r 3.141592653589 r r b = 3.141592653589 * 2 * r b 3.141592653589 * 2 * r 3.141592653589 * 2 * r 3.141592653589 2 r DecimalFormat df = new DecimalFormat("0.000000000"); df new DecimalFormat("0.000000000") System.out.println(df.format(a) + " " + df.format(b)) System.out.println System.out System System.out df.format(a) + " " + df.format(b) df.format(a) + " " + df.format(b) df.format(a) df.format df a " " df.format(b) df.format df b String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    }
} Main
import java.text.DecimalFormat;
import java.util.Scanner;

/**
 *
 * @author lenovo
 */
public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double r = scanner.nextDouble();

        double a, b;
        a = 3.141592653589 * r * r;
        b = 3.141592653589 * 2 * r;
        DecimalFormat df = new DecimalFormat("0.000000000");

        System.out.println(df.format(a) + " " + df.format(b));
    }
}