import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int radius = sc.nextInt();
double s = radius*radius*Math.PI;
System.out.printf("%.7f",s);
}
}