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