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