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