import java.lang.Math;
import java.util.Scanner;
class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		String s = sc.next();
		double r = Double.parseDouble(s);
		System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
    }
} import java.lang.Math; Math java.lang import java.util.Scanner; Scanner java.util class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		String s = sc.next();
		double r = Double.parseDouble(s);
		System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
    }
} Main private static Scanner sc; sc public static void main(String[] args) {
		sc = new Scanner(System.in);
		String s = sc.next();
		double r = Double.parseDouble(s);
		System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
    } main {
		sc = new Scanner(System.in);
		String s = sc.next();
		double r = Double.parseDouble(s);
		System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
    } sc = new Scanner(System.in) sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc double r = Double.parseDouble(s); r Double.parseDouble(s) Double.parseDouble Double s System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI)) System.out.println System.out System System.out String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI) String.format String "%f %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.lang.Math;
import java.util.Scanner;
class Main {
	private static Scanner sc;
	
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		String s = sc.next();
		double r = Double.parseDouble(s);
		System.out.println(String.format("%f %f", r * r * Math.PI, 2 * r * Math.PI));
    }
}