#include using namespace std; int main() { int c; double rin, rout; cin >> c >> rin >> rout; cout << fixed << setprecision(15) << pow((rout - rin) / 2, 2) * M_PI * (rout + rin) * M_PI * c << endl; }