import java.util.Scanner;
import java.io.*;

public class Main
{
	public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	}
} import java.util.Scanner; Scanner java.util import java.io.*; io.* java public class Main
{
	public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	}
} Main public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	} main {
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double pi = Math.PI; pi Math.PI Math Math.PI double area = r*r*pi; area r*r*pi r*r*pi r r pi double length = 2*r*pi; length 2*r*pi 2*r*pi 2 r pi System.out.printf("%f %f",area,length) System.out.printf System.out System System.out "%f %f" area length String[] args args public class Main
{
	public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	}
} public class Main
{
	public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	}
} Main
import java.util.Scanner;
import java.io.*;

public class Main
{
	public static void main(String[] args) throws IOException
	{
		Scanner sc = new Scanner(System.in);
		double r = sc.nextDouble();
		double pi = Math.PI;
		double area = r*r*pi;
		double length = 2*r*pi;
		System.out.printf("%f %f",area,length);
	}
}