#include <stdio.h>
#include <iostream>
#include <algorithm>
#include <math.h>
#include <queue>
#include <set>
#include <map>
using namespace std;
typedef long long ll;
double ans;
ll N;



int main(){
    cin >> N;
    ans = M_PI * N;
    cout << ans << endl;
}