import java.io.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		double pi = Math.PI;
		double menseki = r*r*pi;
		double enshu = 2.0*pi*r;
		System.out.printf("%.6f %.6f", menseki, enshu);
	}
} import java.io.*; io.* java class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		double pi = Math.PI;
		double menseki = r*r*pi;
		double enshu = 2.0*pi*r;
		System.out.printf("%.6f %.6f", menseki, enshu);
	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		double pi = Math.PI;
		double menseki = r*r*pi;
		double enshu = 2.0*pi*r;
		System.out.printf("%.6f %.6f", menseki, enshu);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		double pi = Math.PI;
		double menseki = r*r*pi;
		double enshu = 2.0*pi*r;
		System.out.printf("%.6f %.6f", menseki, enshu);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) double r = Double.parseDouble(br.readLine()); r Double.parseDouble(br.readLine()) Double.parseDouble Double br.readLine() br.readLine br double pi = Math.PI; pi Math.PI Math Math.PI double menseki = r*r*pi; menseki r*r*pi r*r*pi r r pi double enshu = 2.0*pi*r; enshu 2.0*pi*r 2.0*pi*r 2.0 pi r System.out.printf("%.6f %.6f", menseki, enshu) System.out.printf System.out System System.out "%.6f %.6f" menseki enshu String[] args args
import java.io.*;

class Main {
	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());
		double pi = Math.PI;
		double menseki = r*r*pi;
		double enshu = 2.0*pi*r;
		System.out.printf("%.6f %.6f", menseki, enshu);
	}
}