#include using namespace std; using lli = long long int; template ostream &operator<<(ostream &o,const vector&v) {o<<"{";for(int i=0;i<(int)v.size();i++)o<<(i>0?", ":"")<ostream &operator<<(ostream &o,const pair&p) {o<<"("<> n; double p = static_cast(1)/n; cout << fixed << setprecision(10) << p << endl; return 0; }