import java.util.Scanner;

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

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	}
} Main public static void main(String args[]){

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	} main {

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double dbR = sc.nextDouble(); dbR sc.nextDouble() sc.nextDouble sc double dbMenseki = 0; dbMenseki 0 double dbEnsyu = 0; dbEnsyu 0 dbMenseki = dbR * dbR * Math.PI dbMenseki dbR * dbR * Math.PI dbR * dbR * Math.PI dbR dbR Math.PI Math Math.PI dbEnsyu = ( dbR * 2 ) * Math.PI dbEnsyu ( dbR * 2 ) * Math.PI ( dbR * 2 ) dbR 2 Math.PI Math Math.PI String stMen = String.format("%.6f", dbMenseki); stMen String.format("%.6f", dbMenseki) String.format String "%.6f" dbMenseki String stEnsyu = String.format("%.6f", dbEnsyu); stEnsyu String.format("%.6f", dbEnsyu) String.format String "%.6f" dbEnsyu System.out.println(stMen + " " + stEnsyu) System.out.println System.out System System.out stMen + " " + stEnsyu stMen + " " + stEnsyu stMen " " stEnsyu String args[] args public class Main{
	public static void main(String args[]){

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	}
} public class Main{
	public static void main(String args[]){

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	}
} Main
import java.util.Scanner;

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

		//??????????????????????????¢?????¨?????¨??????????????????
		Scanner sc = new Scanner(System.in);
		double dbR = sc.nextDouble();
		double dbMenseki = 0;
		double dbEnsyu = 0;

		//??¢?????¨?????¨????±???????
		dbMenseki = dbR * dbR * Math.PI;
		dbEnsyu = ( dbR * 2 ) * Math.PI;

		//6????????§??¨?????????
		String stMen = String.format("%.6f", dbMenseki);
		String stEnsyu = String.format("%.6f", dbEnsyu);

		System.out.println(stMen + " " + stEnsyu);
	}
}