#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(2) << (long long)(16* atan(1) *r *r *100) / 100.0 << " " << fixed << setprecision(2) << (long long)((16* atan(1) *r *r *r) / 3 *100) / 100.0;
return 0;
}