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