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

  }
}
