#include using namespace std; int main(){ double n; cin >> n; cout << fixed << setprecision(10) << 1.0/n << endl; }