// yukicoder No.908 #include using namespace std; int main() { cout << fixed << setprecision(15); int n; cin >> n; double ans = 1.0 / n; cout << ans << "\n"; return 0; }