#include <iostream>
#include<bits/stdc++.h>
using namespace std;


int main () {

 double r;
 cin >> r;
 
double pi=3.14159;
 
 double area = 2*pi*r;
 

 cout << fixed << setprecision(2) << area;
 
	return 0;
}
