import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		double radius = scanner.nextDouble();
		double pi = 3.141592653589;
		double are = radius*radius*pi;
		double cir = 2*radius*pi;
		String area = String.format("%.8f", are);
		String circ = String.format("%.8f", cir);
		
		System.out.println(area+" "+circ);
	}	
} import java.util.Scanner; Scanner java.util class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		double radius = scanner.nextDouble();
		double pi = 3.141592653589;
		double are = radius*radius*pi;
		double cir = 2*radius*pi;
		String area = String.format("%.8f", are);
		String circ = String.format("%.8f", cir);
		
		System.out.println(area+" "+circ);
	}	
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		double radius = scanner.nextDouble();
		double pi = 3.141592653589;
		double are = radius*radius*pi;
		double cir = 2*radius*pi;
		String area = String.format("%.8f", are);
		String circ = String.format("%.8f", cir);
		
		System.out.println(area+" "+circ);
	} main {
		Scanner scanner = new Scanner(System.in);
		
		double radius = scanner.nextDouble();
		double pi = 3.141592653589;
		double are = radius*radius*pi;
		double cir = 2*radius*pi;
		String area = String.format("%.8f", are);
		String circ = String.format("%.8f", cir);
		
		System.out.println(area+" "+circ);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double radius = scanner.nextDouble(); radius scanner.nextDouble() scanner.nextDouble scanner double pi = 3.141592653589; pi 3.141592653589 double are = radius*radius*pi; are radius*radius*pi radius*radius*pi radius radius pi double cir = 2*radius*pi; cir 2*radius*pi 2*radius*pi 2 radius pi String area = String.format("%.8f", are); area String.format("%.8f", are) String.format String "%.8f" are String circ = String.format("%.8f", cir); circ String.format("%.8f", cir) String.format String "%.8f" cir System.out.println(area+" "+circ) System.out.println System.out System System.out area+" "+circ area+" "+circ area " " circ String[] args args
import java.util.Scanner;
class Main {
	
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		
		double radius = scanner.nextDouble();
		double pi = 3.141592653589;
		double are = radius*radius*pi;
		double cir = 2*radius*pi;
		String area = String.format("%.8f", are);
		String circ = String.format("%.8f", cir);
		
		System.out.println(area+" "+circ);
	}	
}