using System;
using System.Linq;

namespace ConsoleApp1 {
    public class Class1 {
        static void Main(string[] args) {
          int read = int.Parse(Console.ReadLine());
          Console.Write(read * Math.PI);
        }
    }
}