#include <bits/stdc++.h>
using namespace std;
int main(){
	int r;
	const float Z=3.1415926;
	cin>>r;
	float s=Z*r*r;
	float c=Z*r*2;
	printf ("%.2f\n%.2f",s,c);
	return 0;
	}

/**************************************************************
	Problem: 1005
	User: ljl2
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2072 kb
****************************************************************/