import java.util.Scanner;
class Main{
    double r,x,y;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        x = r * r * 3.141592653589;
        y = 2 * r * 3.141592653589;
        System.out.printf("%8.6f %8.6f",x,y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} import java.util.Scanner; Scanner java.util class Main{
    double r,x,y;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        x = r * r * 3.141592653589;
        y = 2 * r * 3.141592653589;
        System.out.printf("%8.6f %8.6f",x,y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
} Main double r r x x y; y public void solve(){
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        x = r * r * 3.141592653589;
        y = 2 * r * 3.141592653589;
        System.out.printf("%8.6f %8.6f",x,y);
    } solve {
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        x = r * r * 3.141592653589;
        y = 2 * r * 3.141592653589;
        System.out.printf("%8.6f %8.6f",x,y);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) r = sc.nextDouble() r sc.nextDouble() sc.nextDouble sc x = r * r * 3.141592653589 x r * r * 3.141592653589 r * r * 3.141592653589 r r 3.141592653589 y = 2 * r * 3.141592653589 y 2 * r * 3.141592653589 2 * r * 3.141592653589 2 r 3.141592653589 System.out.printf("%8.6f %8.6f",x,y) System.out.printf System.out System System.out "%8.6f %8.6f" x y public static void main(String[] args){
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args
import java.util.Scanner;
class Main{
    double r,x,y;
    public void solve(){
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();
        x = r * r * 3.141592653589;
        y = 2 * r * 3.141592653589;
        System.out.printf("%8.6f %8.6f",x,y);
    }
    public static void main(String[] args){
        new Main().solve();
    }
}