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