using System;

namespace ABC_163_A_Csharp_ver
{
    class Program
    {
        static void Main(string[] args)
        {
            int R = int.Parse(Console.ReadLine());
            Console.WriteLine(R * 2 * (3.14));
            Console.ReadKey();
        }
    }
}
