import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	}
} Main public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	} 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 double r=Double.parseDouble(str); r Double.parseDouble(str) Double.parseDouble Double str double pi=3.141592653589; pi 3.141592653589 double are = r*r*pi; are r*r*pi r*r*pi r r pi double circ = 2*r*pi; circ 2*r*pi 2*r*pi 2 r pi System.out.printf("%.8f %.8f%n",are,circ) System.out.printf System.out System System.out "%.8f %.8f%n" are circ String[]args args public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	}
} public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		double r=Double.parseDouble(str);
		double pi=3.141592653589;
		double are = r*r*pi;
		double circ = 2*r*pi;
		System.out.printf("%.8f %.8f%n",are,circ);
	}
}