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