#include <stdio.h>
#include <math.h>

int main() {
   int r;
   scanf("%d",&r);
   printf("%f",r*r*acos(-1));
    return 0;
}