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


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	}

} 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);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	}

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

	} main {
		Scanner scan = new Scanner(System.in);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan DecimalFormat df = new DecimalFormat("0.000000"); df new DecimalFormat("0.000000") double s = r*r*Math.PI; s r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI double a = r*2*Math.PI; a r*2*Math.PI r*2*Math.PI r 2 Math.PI Math Math.PI System.out.println(df.format(s)+" "+df.format(a)) System.out.println System.out System System.out df.format(s)+" "+df.format(a) df.format(s)+" "+df.format(a) df.format(s) df.format df s " " df.format(a) df.format df a String[] args args public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	}

} public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	}

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


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		 double r = scan.nextDouble();
		DecimalFormat df = new DecimalFormat("0.000000");
		double s = r*r*Math.PI;
		double a = r*2*Math.PI;
		System.out.println(df.format(s)+" "+df.format(a));

	}

}