#include<bits/stdc++.h>
using namespace std;
int main(){
int r;
float s,c;
cin>>r;
s=r*r*3.1415926;
c=r*2*3.1415926;
cout<<fixed<<setprecision(2)<<s<<endl;
cout<<fixed<<setprecision(2)<<c;
return 0;
}
/**************************************************************
Problem: 1005
User: linmiaoling
Language: C++
Result: Accepted
Time:12 ms
Memory:2072 kb
****************************************************************/