import java.io.*;
import java.util.*;
class Main{
    public static void main(String args[]) throws IOException{

	double a=0;
	int i=0;
	double j=0;
	double k=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	}
	j=a*2.0*Math.PI;
	k=a*a*Math.PI;
	System.out.printf("%.6f %.6f\n",k,j);
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main{
    public static void main(String args[]) throws IOException{

	double a=0;
	int i=0;
	double j=0;
	double k=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	}
	j=a*2.0*Math.PI;
	k=a*a*Math.PI;
	System.out.printf("%.6f %.6f\n",k,j);
    }
} Main public static void main(String args[]) throws IOException{

	double a=0;
	int i=0;
	double j=0;
	double k=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	}
	j=a*2.0*Math.PI;
	k=a*a*Math.PI;
	System.out.printf("%.6f %.6f\n",k,j);
    } main {

	double a=0;
	int i=0;
	double j=0;
	double k=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	}
	j=a*2.0*Math.PI;
	k=a*a*Math.PI;
	System.out.printf("%.6f %.6f\n",k,j);
    } double a=0; a 0 int i=0; i 0 double j=0; j 0 double k=0; k 0 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String delimiter = " "; delimiter " " StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter ); stringTokenizer new StringTokenizer( str, delimiter ) while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	} stringTokenizer.hasMoreTokens() stringTokenizer.hasMoreTokens stringTokenizer {
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	} String current = stringTokenizer.nextToken(); current stringTokenizer.nextToken() stringTokenizer.nextToken stringTokenizer if(i==0)a=Double.parseDouble(current); i==0 i 0 a=Double.parseDouble(current) a Double.parseDouble(current) Double.parseDouble Double current i++ i j=a*2.0*Math.PI j a*2.0*Math.PI a*2.0*Math.PI a 2.0 Math.PI Math Math.PI k=a*a*Math.PI k a*a*Math.PI a*a*Math.PI a a Math.PI Math Math.PI System.out.printf("%.6f %.6f\n",k,j) System.out.printf System.out System System.out "%.6f %.6f\n" k j String args[] args
import java.io.*;
import java.util.*;
class Main{
    public static void main(String args[]) throws IOException{

	double a=0;
	int i=0;
	double j=0;
	double k=0;

	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String str = br.readLine();
	String delimiter = " ";
        StringTokenizer stringTokenizer = new StringTokenizer( str, delimiter );
	while(stringTokenizer.hasMoreTokens())
	{
            String current = stringTokenizer.nextToken();
	    if(i==0)a=Double.parseDouble(current);
	    i++;
	}
	j=a*2.0*Math.PI;
	k=a*a*Math.PI;
	System.out.printf("%.6f %.6f\n",k,j);
    }
}