import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       double r = in.nextDouble();
       System.out.printf("%f %f\n", Math.PI * r * r,
		       		    2 * Math.PI * r);
    }
} import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       double r = in.nextDouble();
       System.out.printf("%f %f\n", Math.PI * r * r,
		       		    2 * Math.PI * r);
    }
} Main public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       double r = in.nextDouble();
       System.out.printf("%f %f\n", Math.PI * r * r,
		       		    2 * Math.PI * r);
    } main {
       Scanner in = new Scanner(System.in);
       double r = in.nextDouble();
       System.out.printf("%f %f\n", Math.PI * r * r,
		       		    2 * Math.PI * r);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) double r = in.nextDouble(); r in.nextDouble() in.nextDouble in System.out.printf("%f %f\n", Math.PI * r * r,
		       		    2 * Math.PI * r) System.out.printf System.out System System.out "%f %f\n" Math.PI * r * r Math.PI * r * r Math.PI Math Math.PI r r 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r String[] args args
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

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