import java.util.Scanner;

public class Main{
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		}
    		}
    		 import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		}
    		} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		} main {
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

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

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		}
    		} public class Main{
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		}
    		} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);

    		double r=sc.nextDouble();


    		double ans1=r*r*Math.PI;
    		double ans2=r*2*Math.PI;

    		System.out.printf("%.6f %.6f\n",ans1,ans2);

    		}
    		}
    		
