import java.util.Scanner;
class Contesta{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
    System.out.println(R:);
    double R = s.nextDouble();
    double pai = 3.141592;
    double L = 2*pai*R;
    System.out.println(L);
    
  }
}