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