#include using namespace std; int main() { double a, b; cin >> a >> b; cout << fixed << setprecision(10) << 2 * M_PI * (b - a) << endl; return 0; }