#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); double a, b; cin >> a >> b; cout << fixed << setprecision(15) << 2 * M_PI * (b - a) << '\n'; }