#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); double N; cin >> N; cout << fixed << setprecision(10) << 1 / N << '\n'; return 0; }