import java.util.Scanner;

public class MAin {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long a = 0L;
        int x = sc.nextInt();
        a = Math.PI * x;
        System.out.println(a);
    }
}