#define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>

inline double circleArea( double radius ) {
    return 2 * radius * M_PI;
}

int main( void ) {
  double R;
  
  cin >> R;
    std::cout << circleArea( R ) << std::endl;
    return EXIT_SUCCESS;
}