import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double pi = Math.PI;//円周率
		double menseki = r * r * pi;//面積算出
		double ensyu = 2 * r * pi;//円周算出
		System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を６桁で表示
		
	}
} import java.util.*; util.* java class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double pi = Math.PI;//円周率
		double menseki = r * r * pi;//面積算出
		double ensyu = 2 * r * pi;//円周算出
		System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を６桁で表示
		
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double pi = Math.PI;//円周率
		double menseki = r * r * pi;//面積算出
		double ensyu = 2 * r * pi;//円周算出
		System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を６桁で表示
		
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double pi = Math.PI;//円周率
		double menseki = r * r * pi;//面積算出
		double ensyu = 2 * r * pi;//円周算出
		System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を６桁で表示
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double pi = Math.PI; pi Math.PI Math Math.PI double menseki = r * r * pi; menseki r * r * pi r * r * pi r r pi double ensyu = 2 * r * pi; ensyu 2 * r * pi 2 * r * pi 2 r pi System.out.printf("%.6f %.6f",menseki,ensyu) System.out.printf System.out System System.out "%.6f %.6f" menseki ensyu String[] args args
import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		double pi = Math.PI;//円周率
		double menseki = r * r * pi;//面積算出
		double ensyu = 2 * r * pi;//円周算出
		System.out.printf("%.6f %.6f",menseki,ensyu);//計算結果を６桁で表示
		
	}
}