#include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main() {
double PI = atan(1.0)*4;
double r;
cin>>r;
cout << fixed << setprecision(7)<<PI*r*r;
return 0;
}
#include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main() {
double PI = atan(1.0)*4;
double r;
cin>>r;
cout << fixed << setprecision(7)<<PI*r*r;
return 0;
}