import java.util.Scanner;
import java.lang.Math;

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

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