#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a>n; D ans=0; const int t=6; int s=1<>i)&1) cnt+=1.0,res*=-1; ans+=res*pow(cnt/t,n); } cout<