#include<bits/stdc++.h> using namespace std; int main(){ double d,h,ans; cin>>d>>h; ans=3.14*(d/2)*(d/2)*h; printf("%.2lf",ans); return 0; }