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