const main = (inputs) => {
  console.log(calculateCircumference(inputs[0] - 0));
}
main(require('fs').readFileSync('/dev/stdin', 'UTF-8').trim().split("\n"));

function calculateCircumference(radius) {
  return 2 * Math.PI * radius;
}