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

public class Main {

	public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.math.BigDecimal; BigDecimal java.math public class Main {

	public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	}

} Main public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	} main {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	} try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String inputData = reader.readLine(); inputData reader.readLine() reader.readLine reader BigDecimal r = new BigDecimal(inputData); r new BigDecimal(inputData) BigDecimal bdPI = new BigDecimal(3.14159265358979323846d); bdPI new BigDecimal(3.14159265358979323846d) BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP); area r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP) r.pow(2).multiply(bdPI).setScale r.pow(2).multiply(bdPI) r.pow(2).multiply r.pow(2) r.pow r 2 bdPI 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP); round bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP) bdPI.multiply(r).multiply(new BigDecimal(2)).setScale bdPI.multiply(r).multiply(new BigDecimal(2)) bdPI.multiply(r).multiply bdPI.multiply(r) bdPI.multiply bdPI r new BigDecimal(2) 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(area.toPlainString() + " " + round.toPlainString()) System.out.println System.out System System.out area.toPlainString() + " " + round.toPlainString() area.toPlainString() + " " + round.toPlainString() area.toPlainString() area.toPlainString area " " round.toPlainString() round.toPlainString round String[] args args public class Main {

	public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	}

} public class Main {

	public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	}

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

public class Main {

	public static void main(String[] args) {


        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData = reader.readLine();

            BigDecimal r = new BigDecimal(inputData);
			BigDecimal bdPI = new BigDecimal(3.14159265358979323846d);

			BigDecimal area = r.pow(2).multiply(bdPI).setScale(6, BigDecimal.ROUND_HALF_UP);
			BigDecimal round = bdPI.multiply(r).multiply(new BigDecimal(2)).setScale(6, BigDecimal.ROUND_HALF_UP);

            System.out.println(area.toPlainString() + " " + round.toPlainString());

        } catch (IOException e) {
            e.printStackTrace();
        }

	}

}