import java.io.IOException;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	}

}
 import java.io.IOException; IOException java.io import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	}

} Main public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	} main {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double Pi = Math.PI; Pi Math.PI Math Math.PI double menseki_x = r * r * Pi; menseki_x r * r * Pi r * r * Pi r r Pi double syuu_y = 2 * r * Pi; syuu_y 2 * r * Pi 2 * r * Pi 2 r Pi BigDecimal menseki = new BigDecimal(menseki_x); menseki new BigDecimal(menseki_x) menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP) menseki menseki.setScale(5, BigDecimal.ROUND_HALF_UP) menseki.setScale menseki 5 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP BigDecimal syuu = new BigDecimal(syuu_y); syuu new BigDecimal(syuu_y) syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP) syuu syuu.setScale(5, BigDecimal.ROUND_HALF_UP) syuu.setScale syuu 5 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(menseki +" "+ syuu) System.out.println System.out System System.out menseki +" "+ syuu menseki +" "+ syuu menseki " " syuu String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	}

} public class Main {

	public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	}

} Main
import java.io.IOException;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		//キーボード入力メソッド
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		double Pi = Math.PI;
		double menseki_x = r * r * Pi;
		double syuu_y = 2 * r * Pi;

		//fの小数点以下の桁数を指定(5桁)
				BigDecimal menseki = new BigDecimal(menseki_x);
				menseki = menseki.setScale(5, BigDecimal.ROUND_HALF_UP);
				BigDecimal syuu = new BigDecimal(syuu_y);
				syuu = syuu.setScale(5, BigDecimal.ROUND_HALF_UP);

		//出力
		System.out.println(menseki +" "+ syuu);

	}

}

