#include<bits/stdc++.h>
constexpr auto M_PI = 3.14159265358979323846;
using namespace std;
int main()
{
    int r;
    cin>>r;
    double result = 2*M_PI*r;
    cout<< fixed << setprecision(2)<< result << endl;
}
