
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{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	}

} 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{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	} 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 DecimalFormat dmfmt = new DecimalFormat("0.000000"); dmfmt new DecimalFormat("0.000000") System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI)) System.out.println System.out System System.out dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI) dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI) dmfmt.format(r * r * Math.PI) dmfmt.format dmfmt r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI " " dmfmt.format(r * 2 * Math.PI) dmfmt.format dmfmt r * 2 * Math.PI r * 2 * Math.PI r 2 Math.PI Math Math.PI String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	}

} 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{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		double r = Double.parseDouble(br.readLine());

		DecimalFormat dmfmt = new DecimalFormat("0.000000");

		System.out.println(dmfmt.format(r * r * Math.PI) + " " + dmfmt.format(r * 2 * Math.PI));
	}

}