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

class Main{
        public static void main(String args[]){
                Scanner scan=new Scanner(System.in);
                double r=scan.nextDouble();
                double s=r*r*Math.PI;
                double l=2*r*Math.PI;
                String ss=String.format("%.5f",s);
                String ll=String.format("%.5f",l);
                System.out.println(ss+" "+ll);
        }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main{
        public static void main(String args[]){
                Scanner scan=new Scanner(System.in);
                double r=scan.nextDouble();
                double s=r*r*Math.PI;
                double l=2*r*Math.PI;
                String ss=String.format("%.5f",s);
                String ll=String.format("%.5f",l);
                System.out.println(ss+" "+ll);
        }
} Main public static void main(String args[]){
                Scanner scan=new Scanner(System.in);
                double r=scan.nextDouble();
                double s=r*r*Math.PI;
                double l=2*r*Math.PI;
                String ss=String.format("%.5f",s);
                String ll=String.format("%.5f",l);
                System.out.println(ss+" "+ll);
        } main {
                Scanner scan=new Scanner(System.in);
                double r=scan.nextDouble();
                double s=r*r*Math.PI;
                double l=2*r*Math.PI;
                String ss=String.format("%.5f",s);
                String ll=String.format("%.5f",l);
                System.out.println(ss+" "+ll);
        } Scanner scan=new Scanner(System.in); scan new Scanner(System.in) double r=scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double s=r*r*Math.PI; s r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI double l=2*r*Math.PI; l 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI String ss=String.format("%.5f",s); ss String.format("%.5f",s) String.format String "%.5f" s String ll=String.format("%.5f",l); ll String.format("%.5f",l) String.format String "%.5f" l System.out.println(ss+" "+ll) System.out.println System.out System System.out ss+" "+ll ss+" "+ll ss " " ll String args[] args
import java.util.Scanner;
import java.lang.Math;

class Main{
        public static void main(String args[]){
                Scanner scan=new Scanner(System.in);
                double r=scan.nextDouble();
                double s=r*r*Math.PI;
                double l=2*r*Math.PI;
                String ss=String.format("%.5f",s);
                String ll=String.format("%.5f",l);
                System.out.println(ss+" "+ll);
        }
}