' Imports System.Collections.Generic
' Imports System.Text.RegularExpressions

Class Main
    Public Shared Sub Main()
        Dim R As Integer
        R = Console.ReadLine()
        Console.WriteLine(2 * R * Math.PI)
    End Sub
End Class
