#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main() {
double r;
cin >> r;
cout << fixed << setprecision(4) << 2*M_PI*r << " " << M_PI*r*r;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPGNtYXRoPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cglkb3VibGUgcjsKCWNpbiA+PiByOwoJY291dCA8PCBmaXhlZCA8PCBzZXRwcmVjaXNpb24oNCkgPDwgMipNX1BJKnIgPDwgIiAiIDw8IE1fUEkqcipyOwoJcmV0dXJuIDA7Cn0=