#include #include using namespace std; int main(){ long double h,r; cin >> h >> r; cout << setprecision(20) << -8.245+6.807*h+7.073*2*r*3.14159265 << endl;; }