#include<bits/stdc++.h> using namespace std; double r; int main() { cin>>r; printf("%.2lf\n%.2lf\n",r*2*3.1415,r*r*3.1415); return 0; }