import java.io.*;
import java.util.*;

class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        double PI = 3.141592653589793238;
        
        System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        double PI = 3.141592653589793238;
        
        System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
    }
} Main public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        double PI = 3.141592653589793238;
        
        System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
    } main {
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        double PI = 3.141592653589793238;
        
        System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double PI = 3.141592653589793238; PI 3.141592653589793238 System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r)) System.out.printf System.out System System.out "%.6f %.6f\n" (r*r*PI) r*r*PI r r PI (2*PI*r) 2*PI*r 2 PI r String[] args args
import java.io.*;
import java.util.*;

class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        
        double r = sc.nextDouble();
        double PI = 3.141592653589793238;
        
        System.out.printf("%.6f %.6f\n", (r*r*PI), (2*PI*r));
    }
}