#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;
	printf("%.2f\n",s);
	printf("%.2f",c);
	
	
	
	
	
	
	return 0;
	
}
/**************************************************************
	Problem: 1005
	User: caiqiaoxi
	Language: C++
	Result: Wrong Answer
****************************************************************/