

import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	}
} Main public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	} main {
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r =sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double P = Math.PI; P Math.PI Math Math.PI double AreaCircle = r * r * P; AreaCircle r * r * P r * r * P r r P double Arch =(r + r) * P; Arch (r + r) * P (r + r) r r P String fAreaCircle = String.format("%.6f", AreaCircle); fAreaCircle String.format("%.6f", AreaCircle) String.format String "%.6f" AreaCircle String  fArch = String.format("%.6f", Arch); fArch String.format("%.6f", Arch) String.format String "%.6f" Arch System.out.printf(fAreaCircle + " " + fArch) System.out.printf System.out System System.out fAreaCircle + " " + fArch fAreaCircle + " " + fArch fAreaCircle " " fArch String[]args args public class Main {
	public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	}
} public class Main {
	public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	}
} Main


import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		//????????£????????????
		Scanner sc = new Scanner(System.in);

		//??\??????????????? ??????r
		double r =sc.nextDouble();
		//?????¨????????£?¨?
		double P = Math.PI;
		//????????¢??? ??¬??? ?????????????????????¨???
		double AreaCircle = r * r * P;
		//?????¨????????? ??¬??? ?????¨????????? = ??´??????????¨???
		double Arch =(r + r) * P;
		//?°???°???????????´
		String fAreaCircle = String.format("%.6f", AreaCircle);
		//?°???°???????????´
		String  fArch = String.format("%.6f", Arch);
		//???????????¨???
		System.out.printf(fAreaCircle + " " + fArch);
	}
}