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

/*
 * ???????????§??????????´? EightQueen.java
 *
 * Copyright(C) 2016 Nagasaki Team All Rights Reserved.
 */
/**
 * ??????????????????????????????????????????????????¢???????±??????????
 * AIZU???Circle???????????¨
 *@author Iwanaga
 * @version 1.00
 */

public class Main{
	/*
	 * main????????????
	 */
	public static void main(String[] args) throws IOException{
		/*?????°??£?¨?*/
		BufferedReader br =
			new BufferedReader(new InputStreamReader(System.in));
		String str = null; //??\?????¨?????????
		double radius = 0; //??????

		//??\?????????
		str = br.readLine();
		radius = Double.parseDouble(str); //??°????????????

		//??¢?????¨???
		System.out.printf("%.6f %.6f",getCircleArea(radius)
								,getCirum(radius));
	}

	/**
	  * ????????¢???????±???????
	  * @param radius ??????
	  * @return ??¢???
	  */
	public static double getCircleArea(double radius){
		/*?????°??£?¨?*/
		double area = 0;

		area = radius*radius*Math.PI;

		return area;
	}
	
	/**
	  * ?????¨?????????????±???????
	  * @param radius ??????
	  * @return ?????¨?????????
	  */
	public static double getCirum(double radius){
		/*?????°??£?¨?*/
		double cirum = 0;
		
		cirum = 2*Math.PI*radius;
		
		return cirum;
	}
}
		
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz