import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double r2 = 1.0*r;
		
		double ensyu = r2 * 2 * 3.141592653589;
		double menseki = r2 * r2 * 3.141592653589;

		String ee =String.format("%.8f",ensyu);
		String mm =String.format("%.8f",menseki);
		System.out.println(mm+" "+ee);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double r2 = 1.0*r;
		
		double ensyu = r2 * 2 * 3.141592653589;
		double menseki = r2 * r2 * 3.141592653589;

		String ee =String.format("%.8f",ensyu);
		String mm =String.format("%.8f",menseki);
		System.out.println(mm+" "+ee);
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double r2 = 1.0*r;
		
		double ensyu = r2 * 2 * 3.141592653589;
		double menseki = r2 * r2 * 3.141592653589;

		String ee =String.format("%.8f",ensyu);
		String mm =String.format("%.8f",menseki);
		System.out.println(mm+" "+ee);
	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double r2 = 1.0*r;
		
		double ensyu = r2 * 2 * 3.141592653589;
		double menseki = r2 * r2 * 3.141592653589;

		String ee =String.format("%.8f",ensyu);
		String mm =String.format("%.8f",menseki);
		System.out.println(mm+" "+ee);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double r2 = 1.0*r; r2 1.0*r 1.0 r double ensyu = r2 * 2 * 3.141592653589; ensyu r2 * 2 * 3.141592653589 r2 * 2 * 3.141592653589 r2 2 3.141592653589 double menseki = r2 * r2 * 3.141592653589; menseki r2 * r2 * 3.141592653589 r2 * r2 * 3.141592653589 r2 r2 3.141592653589 String ee =String.format("%.8f",ensyu); ee String.format("%.8f",ensyu) String.format String "%.8f" ensyu String mm =String.format("%.8f",menseki); mm String.format("%.8f",menseki) String.format String "%.8f" menseki System.out.println(mm+" "+ee) System.out.println System.out System System.out mm+" "+ee mm+" "+ee mm " " ee String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double r2 = 1.0*r;
		
		double ensyu = r2 * 2 * 3.141592653589;
		double menseki = r2 * r2 * 3.141592653589;

		String ee =String.format("%.8f",ensyu);
		String mm =String.format("%.8f",menseki);
		System.out.println(mm+" "+ee);
	}
}