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