#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;xN_ || Q_<0 || Q_>P_) return 0; return C_[P_][Q_]; } int N; long double ret; void solve() { int i,j,k,l,r,x,y; string s; cin>>N; long double tot=comb(99,N); for(int mask=0;mask<1<<25;mask++) { x=0; if(__builtin_popcount(mask)>N) continue; long double prob = comb(74,N-__builtin_popcount(mask))/tot; if(prob==0) continue; FOR(i,5) { if((mask & (((1+(1<<5)+(1<<10)+(1<<15)+(1<<20)))<