import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;

public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.text.DecimalFormat; DecimalFormat java.text public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	}

} Main public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) double f f x x h; h String list = br.readLine(); list br.readLine() br.readLine br x = Double.parseDouble(list) x Double.parseDouble(list) Double.parseDouble Double list DecimalFormat df = new DecimalFormat("0.000000"); df new DecimalFormat("0.000000") f = x * x * Math.PI f x * x * Math.PI x * x * Math.PI x x Math.PI Math Math.PI h = 2 * x * Math.PI h 2 * x * Math.PI 2 * x * Math.PI 2 x Math.PI Math Math.PI System.out.println(df.format(f) + " " + df.format(h)) System.out.println System.out System System.out df.format(f) + " " + df.format(h) df.format(f) + " " + df.format(h) df.format(f) df.format df f " " df.format(h) df.format df h String[] args args public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	}

} public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;

public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        double f , x , h;
        	String list = br.readLine();
        	x = Double.parseDouble(list);
        	DecimalFormat df = new DecimalFormat("0.000000");
        	f = x * x * Math.PI;
        	h = 2 * x * Math.PI;
            System.out.println(df.format(f) + " " + df.format(h));
	}

}