

import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	}
} Main public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	} main {
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double r = sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc double Area = r * r * Math.PI; Area r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double Pi = r * 2 * Math.PI; Pi r * 2 * Math.PI r * 2 * Math.PI r 2 Math.PI Math Math.PI String strArea = String.format("%6f", Area); strArea String.format("%6f", Area) String.format String "%6f" Area String strPi = String.format("%6f", Pi); strPi String.format("%6f", Pi) String.format String "%6f" Pi System.out.println(strArea + " "+ strPi) System.out.println System.out System System.out strArea + " "+ strPi strArea + " "+ strPi strArea " " strPi String[] args args public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	}
} public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	}
} Main


import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		//????????£?????????????????????
		Scanner sc = new Scanner(System.in);
		//?????¨???
		//double n = Math.PI;
		//??????r?????????
		double r = sc.nextDouble();
		//????????¢??? ?????????????????????¨???
		double Area = r * r * Math.PI;
		//???????????¨ ??´????? ?????¨???
		double Pi = r * 2 * Math.PI;
		//
		String strArea = String.format("%6f", Area);

		//
		String strPi = String.format("%6f", Pi);

		//???????????¨???
		System.out.println(strArea + " "+ strPi);
	}
}