#include <bits/stdc++.h>
using namespace std;
int main()
{
int r;
float s,c;
cin>>r;
s=3.1415926*r*r;
c=3.1415926*2*r;
cout<<fixed<<setprecision(2)<<s<<endl;
cout<<fixed<<setprecision(2)<<c;
return 0;
}
using namespace std;
int main()
{
int r;
float s,c;
cin>>r;
s=3.1415926*r*r;
c=3.1415926*2*r;
cout<<fixed<<setprecision(2)<<s<<endl;
cout<<fixed<<setprecision(2)<<c;
return 0;
}