#include<bits/stdc++.h>
using namespace std;
int main(){
const double pi=3.1415926;
int r;
double s,d;
cin>>r;
s=pi*r*r;
d=pi*2*r;
printf("%.2lf", s);
cout<<endl;
printf("%.2lf", d);
return 0;
}
/**************************************************************
Problem: 1005
User: tangkaixuan
Language: C++
Result: Accepted
Time:11 ms
Memory:2072 kb
****************************************************************/