import java.io.*;
import java.lang.Math;
class Main{
    public static void main(String[] args)throws IOException{
        double r, s, l; // s:??¢???, l:??¨?????????
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        r = Double.parseDouble(buf);
    	s = r * r * Math.PI;
    	l = 2 * r * Math.PI;
        System.out.printf("%.6f %.6f\n", s, l);
    }
} import java.io.*; io.* java import java.lang.Math; Math java.lang class Main{
    public static void main(String[] args)throws IOException{
        double r, s, l; // s:??¢???, l:??¨?????????
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        r = Double.parseDouble(buf);
    	s = r * r * Math.PI;
    	l = 2 * r * Math.PI;
        System.out.printf("%.6f %.6f\n", s, l);
    }
} Main public static void main(String[] args)throws IOException{
        double r, s, l; // s:??¢???, l:??¨?????????
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        r = Double.parseDouble(buf);
    	s = r * r * Math.PI;
    	l = 2 * r * Math.PI;
        System.out.printf("%.6f %.6f\n", s, l);
    } main {
        double r, s, l; // s:??¢???, l:??¨?????????
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        r = Double.parseDouble(buf);
    	s = r * r * Math.PI;
    	l = 2 * r * Math.PI;
        System.out.printf("%.6f %.6f\n", s, l);
    } double r r s s l; l InputStreamReader isr =new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br =new BufferedReader(isr); br new BufferedReader(isr) String buf = br.readLine(); buf br.readLine() br.readLine br r = Double.parseDouble(buf) r Double.parseDouble(buf) Double.parseDouble Double buf s = r * r * Math.PI s r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI l = 2 * r * Math.PI l 2 * r * Math.PI 2 * r * Math.PI 2 r Math.PI Math Math.PI System.out.printf("%.6f %.6f\n", s, l) System.out.printf System.out System System.out "%.6f %.6f\n" s l String[] args args
import java.io.*;
import java.lang.Math;
class Main{
    public static void main(String[] args)throws IOException{
        double r, s, l; // s:??¢???, l:??¨?????????
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        r = Double.parseDouble(buf);
    	s = r * r * Math.PI;
    	l = 2 * r * Math.PI;
        System.out.printf("%.6f %.6f\n", s, l);
    }
}