#include <bits/stdc++.h>
const long long mod = 1e9 + 7;
using namespace std;
int main() {
  int q = 1;
  while (q--) {
    int n;
    cin >> n;
    cout << setprecision(4) << (44 / (float)7) * n << endl;
  }
}
