import java.util.Scanner;
public class Main
{
    publiv static void main(String Args[])
    {
        Scanner sc=new Scanner (System.in);
        int n=sc.nextInt();
        double c=Math.PI*n;
        System.out.println(c);
    }
}