import java.text.DecimalFormat;
import java.util.Scanner;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	}
} import java.text.DecimalFormat; DecimalFormat java.text import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	}
} Main public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	} main {
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) DecimalFormat df = new DecimalFormat("####################.####################"); df new DecimalFormat("####################.####################") double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI)) System.out.println System.out System System.out df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI) df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI) df.format(r * r * Math.PI) df.format df r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI " " df.format((r+r) * Math.PI) df.format df (r+r) * Math.PI (r+r) r r Math.PI Math Math.PI scan.close() scan.close scan String args[] args public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	}
} public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	}
} Main
import java.text.DecimalFormat;
import java.util.Scanner;

public class Main {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		DecimalFormat df = new DecimalFormat("####################.####################");

		double r = scan.nextDouble();

		System.out.println(df.format(r * r * Math.PI) + " " + df.format((r+r) * Math.PI));


		scan.close();

	}
}