import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        if(r<=0 || 10000<=r){
            System.exit(-1);
        }
        System.out.println(String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI);
    }
} 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();
        if(r<=0 || 10000<=r){
            System.exit(-1);
        }
        System.out.println(String.format("%f",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();
        if(r<=0 || 10000<=r){
            System.exit(-1);
        }
        System.out.println(String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI);
    } main {
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        if(r<=0 || 10000<=r){
            System.exit(-1);
        }
        System.out.println(String.format("%f",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 if(r<=0 || 10000<=r){
            System.exit(-1);
        } r<=0 || 10000<=r r<=0 r 0 10000<=r 10000 r {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 System.out.println(String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI) System.out.println System.out System System.out String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI String.format("%f",r*r*Math.PI) String.format String "%f" 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
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double r = sc.nextDouble();
        if(r<=0 || 10000<=r){
            System.exit(-1);
        }
        System.out.println(String.format("%f",r*r*Math.PI) + " " + 2*r*Math.PI);
    }
}