#include <iostream>
#include <cmath>//
using namespace std;
int main() {
double P, R;
cin>>P;
R=P/(4+M_PI);
cout<<R;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+Ly8KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKaW50IG1haW4oKSB7CiAgICBkb3VibGUgUCwgUjsKICAgIGNpbj4+UDsKICAgIFI9UC8oNCtNX1BJKTsKICAgIGNvdXQ8PFI7CglyZXR1cm4gMDsKfQ==