import java.util.Scanner;
import java.math.*;

class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		
		double r = Double.parseDouble(scan.next());
		
		double area = r * r * Math.PI;
		double perimeter = 2 * r * Math.PI;
		
		System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString());
	}
} import java.util.Scanner; Scanner java.util import java.math.*; math.* java class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		
		double r = Double.parseDouble(scan.next());
		
		double area = r * r * Math.PI;
		double perimeter = 2 * r * Math.PI;
		
		System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString());
	}
} Main public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		
		double r = Double.parseDouble(scan.next());
		
		double area = r * r * Math.PI;
		double perimeter = 2 * r * Math.PI;
		
		System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString());
	} main {
		Scanner scan = new Scanner(System.in);
		
		double r = Double.parseDouble(scan.next());
		
		double area = r * r * Math.PI;
		double perimeter = 2 * r * Math.PI;
		
		System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString());
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = Double.parseDouble(scan.next()); r Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double area = r * r * Math.PI; area r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double perimeter = 2 * r * Math.PI; perimeter 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString()) System.out.println System.out System System.out BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString() BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString() BigDecimal.valueOf(area).toPlainString() BigDecimal.valueOf(area).toPlainString BigDecimal.valueOf(area) BigDecimal.valueOf BigDecimal area " " BigDecimal.valueOf(perimeter).toPlainString() BigDecimal.valueOf(perimeter).toPlainString BigDecimal.valueOf(perimeter) BigDecimal.valueOf BigDecimal perimeter String args[] args
import java.util.Scanner;
import java.math.*;

class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);
		
		double r = Double.parseDouble(scan.next());
		
		double area = r * r * Math.PI;
		double perimeter = 2 * r * Math.PI;
		
		System.out.println(BigDecimal.valueOf(area).toPlainString() +" "+ BigDecimal.valueOf(perimeter).toPlainString());
	}
}