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