#include using namespace std; int main(void){ long double n; cin>>n; cout << fixed << setprecision(15) << 1/n << endl; return 0; }