import java.util.Scanner;

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

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