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