import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    } main {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double a = scanner.nextDouble(); a scanner.nextDouble() scanner.nextDouble scanner double b=a; b a double menseki = b * b  *Math.PI; menseki b * b  *Math.PI b * b  *Math.PI b b Math.PI Math Math.PI double enshuu = 2*b*Math.PI; enshuu 2*b*Math.PI 2*b*Math.PI 2 b Math.PI Math Math.PI System.out.printf("%f %f",menseki,enshuu) System.out.printf System.out System System.out "%f %f" menseki enshuu String[] args args public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double a = scanner.nextDouble();
        double b=a;
        double menseki = b * b  *Math.PI;
        double enshuu = 2*b*Math.PI;
        System.out.printf("%f %f",menseki,enshuu);
    }
}