#include<iostream> #define pi 3.14 using namespace std; int main(){ int h,r; cin>>h>>r; int s=(pi*r*r)*h; cout<<s; return 0; }