#include<bits/stdc++.h>
using namespace std;
float r,p=3.1415926;
int main(){
cin >> r;
printf("%.2f\n%.2f",r*r*p,r*2*p);
}
/**************************************************************
Problem: 1005
User: chenyichuen
Language: C++
Result: Accepted
Time:12 ms
Memory:2072 kb
****************************************************************/