import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
import java.lang.Math;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        double r = ReadDouble();
        String res1 = String.format("%.8f", r * r * Math.PI);
        String res2 = String.format("%.8f", 2 * r * Math.PI);
        System.out.println(res1 + " " + res2);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
    static double ReadDouble() throws IOException {
        return sc.nextDouble();
    }
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util import java.util.Arrays; Arrays java.util import java.lang.Math; Math java.lang class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        double r = ReadDouble();
        String res1 = String.format("%.8f", r * r * Math.PI);
        String res2 = String.format("%.8f", 2 * r * Math.PI);
        System.out.println(res1 + " " + res2);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
    static double ReadDouble() throws IOException {
        return sc.nextDouble();
    }
} Main static Scanner sc = new Scanner(System.in); sc new Scanner(System.in) public static void main(String[] args) throws IOException {
        double r = ReadDouble();
        String res1 = String.format("%.8f", r * r * Math.PI);
        String res2 = String.format("%.8f", 2 * r * Math.PI);
        System.out.println(res1 + " " + res2);
    } main {
        double r = ReadDouble();
        String res1 = String.format("%.8f", r * r * Math.PI);
        String res2 = String.format("%.8f", 2 * r * Math.PI);
        System.out.println(res1 + " " + res2);
    } double r = ReadDouble(); r ReadDouble() ReadDouble String res1 = String.format("%.8f", r * r * Math.PI); res1 String.format("%.8f", r * r * Math.PI) String.format String "%.8f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI String res2 = String.format("%.8f", 2 * r * Math.PI); res2 String.format("%.8f", 2 * r * Math.PI) String.format String "%.8f" 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.println(res1 + " " + res2) System.out.println System.out System System.out res1 + " " + res2 res1 + " " + res2 res1 " " res2 String[] args args static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    } ReadInt {
        return Integer.parseInt(sc.next());
    } return Integer.parseInt(sc.next()); Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc static double ReadDouble() throws IOException {
        return sc.nextDouble();
    } ReadDouble {
        return sc.nextDouble();
    } return sc.nextDouble(); sc.nextDouble() sc.nextDouble sc
import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
import java.lang.Math;

class Main {
    static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws IOException {
        double r = ReadDouble();
        String res1 = String.format("%.8f", r * r * Math.PI);
        String res2 = String.format("%.8f", 2 * r * Math.PI);
        System.out.println(res1 + " " + res2);
    }
    static int ReadInt() throws IOException {
        return Integer.parseInt(sc.next());
    }
    static double ReadDouble() throws IOException {
        return sc.nextDouble();
    }
}