#include #include #include using namespace std; int main(){ double a,b,ans; cin >> a >> b; ans = 2*M_PI*(b - a); printf("%.10f\n",ans); return 0; }