fn main() {
  let mut buf = String::new():
  std::io::stdin().read_to_string(&mut buf).unwrap();
  let mut a = buf.split_whitespace();
  let n = a.next().unwrap().parse().unwrap();
let mut b = a * 6.2832
println!(b);
}