import java.util.Scanner;

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

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

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

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

} Main
import java.util.Scanner;

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

}