#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  double r;
  double c = 6.28 * r;
  cout << fixed << setprecision(2) << c << endl;
  return 0;
}
