#include<bits/stdc++.h>
using namespace std;
int main(){
int r;
float s,c;
cin>>r;
s=3.1415926*r*r;
c=3.1415926*r*2;
printf("%.2f\n",s);
printf("%.2f",c);
}
/**************************************************************
Problem: 1005
User: linzihang
Language: C++
Result: Accepted
Time:8 ms
Memory:2072 kb
****************************************************************/