#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
const ll inf = 1e18 ;

int main(){
    double x  ;
    cin >> x ;
    cout << x * 2 * 3.16 <<endl ;
}
