#include<iostream>
#include<vector>
#include<algorithm>
#include<tuple>
#include<utility>
#include<math.h>

using namespace std;

typedef long long int64;

int main(void){
    double R;
    cin>>R;
    cout<<R*M_PI<<endl;
    return 0;
}