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



	return 0;
}



/**************************************************************
	Problem: 1005
	User: 15159808820
	Language: C++
	Result: Wrong Answer
****************************************************************/