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

public class Main {
	public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	}

} Main public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	} main {
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	} double r; r double p = Math.PI; p Math.PI Math Math.PI 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 r = Double.parseDouble(str) r Double.parseDouble(str) Double.parseDouble Double str System.out.printf("%1.6f %1.6f",r*r*p,2*r*p) System.out.printf System.out System System.out "%1.6f %1.6f" r*r*p r*r*p r r p 2*r*p 2*r*p 2 r p String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	}

} public class Main {
	public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	}

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

public class Main {
	public static void main(String[] args) throws IOException{
		double r;
		double p = Math.PI;

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		r = Double.parseDouble(str);

		System.out.printf("%1.6f %1.6f",r*r*p,2*r*p);
	}

}