#include <bits/stdc++.h>
float PI;
int main() {
  int R;
  double circumference;
  scanf("%d", &R);
  PI = 3.1416;
  circumference = 2 * 3.1416 * R;
  printf("circumference=%lf\n", circumference);
  return 0;
}
