#include <stdio.h>
#define p 3.14
int main() {
    int r;
    float s;
scanf("%d",&r);
s=p*r*r;
printf("%f",s);
    return 0;
}