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



int main(){
        ios::sync_with_stdio(0);
        cin.tie(0);
        //freopen("input.txt","r/w",stdin/stdout);
        float t;
        cin>>t;
        t*=2*3.14;
        cout<<t;
        return 0;
}
