import java.util.Scanner;

class Sample3_2 {
	public static void main(String[] args ) {
		Scanner scn = new Scanner(System.in);
		int num = sc.nextInt();
      	System.out.println(num * num * 3.14);
	}
}