import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	}
} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	} main {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) double r=sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double c1=r*r*3.141592653589; c1 r*r*3.141592653589 r*r*3.141592653589 r r 3.141592653589 double c2=2*r*3.141592653589; c2 2*r*3.141592653589 2*r*3.141592653589 2 r 3.141592653589 System.out.printf("%f %f",c1,c2) System.out.printf System.out System System.out "%f %f" c1 c2 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		double r=sc.nextDouble();

		double c1=r*r*3.141592653589;
		double c2=2*r*3.141592653589;

		System.out.printf("%f %f",c1,c2);
	}
}