#include<bits/stdc++.h>
using namespace std;
 
int main() {
  	int r;
  	cin >> r;
	printf("%lf",M_PI *pow(r, 2)) ;// 用c++自带的pi
}