import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	}
} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.print(String.format("%.6f", r * r * Math.PI )) System.out.print System.out System System.out String.format("%.6f", r * r * Math.PI ) String.format String "%.6f" r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI System.out.print(" ") System.out.print System.out System System.out " " System.out.println(String.format("%.6f",(r + r) * Math.PI)) System.out.println System.out System System.out String.format("%.6f",(r + r) * Math.PI) String.format String "%.6f" (r + r) * Math.PI (r + r) r r Math.PI Math Math.PI sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		
		System.out.print(String.format("%.6f", r * r * Math.PI ));
		System.out.print(" ");
		System.out.println(String.format("%.6f",(r + r) * Math.PI));
		
		sc.close();
	}
}