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

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