#include #include using namespace std; int main(int argc, char* argv[]) { int N; cin>>N; double p=1.0/N; printf("%.6f\n",p); return 0; }