#include #include using namespace std; const int B=1e6; main() { double a,b;scanf("%lf%lf",&a,&b); printf("%lf\n",M_PI*2*(b-a)); }