#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;
const int N = 2e5 + 500;
#define ll long long
int main(){
	double n;
	cin >> n;	
	double ans = 2 * 3.14 * n * n;
	cout << ans << endl;
}