import java.util.Scanner;

public class Main
{

	public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	}

} import java.util.Scanner; Scanner java.util public class Main
{

	public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	}

} Main public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	} main {
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	} Scanner in =new Scanner(System.in); in new Scanner(System.in) double r=in.nextDouble(); r in.nextDouble() in.nextDouble in double pi = 3.1415926535897932384626433 ; pi 3.1415926535897932384626433 System.out.printf("%.8f %.8f", r*r*pi,2*r*pi) System.out.printf System.out System System.out "%.8f %.8f" r*r*pi r*r*pi r r pi 2*r*pi 2*r*pi 2 r pi String[] args args public class Main
{

	public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	}

} public class Main
{

	public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	}

} Main
import java.util.Scanner;

public class Main
{

	public static void main(String[] args)
	{
		Scanner in =new Scanner(System.in);
		double r=in.nextDouble();
		double pi = 3.1415926535897932384626433 ;
		System.out.printf("%.8f %.8f", r*r*pi,2*r*pi);
		
	}

}