import java.util.Scanner;

public class Main 
{
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	}
} import java.util.Scanner; Scanner java.util public class Main 
{
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	}
} Main public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	} main {
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner double pi = 3.14159265359; pi 3.14159265359 System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi) System.out.printf System.out System System.out "%1$.6f %2$.6f" pi*r*r pi*r*r pi r r 2*r*pi 2*r*pi 2 r pi String[] args args public class Main 
{
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	}
} public class Main 
{
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		
		double r = scanner.nextDouble();
		double pi = 3.14159265359;
		System.out.printf("%1$.6f %2$.6f", pi*r*r, 2*r*pi);
	}
} Main
import java.util.Scanner;

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