#include #include #include #define LD double #define LL long long #define Re register int using namespace std; const int N=23,M=1048576+3; int n,V,cnt[M];LD ans,p[N],Min[M]; inline void in(Re &x){ int f=0;x=0;char ch=getchar(); while(ch<'0'||ch>'9')f|=ch=='-',ch=getchar(); while(ch>='0'&&ch<='9')x=(x<<1)+(x<<3)+(ch^48),ch=getchar(); x=f?-x:x; } int main(){ // freopen("123.txt","r",stdin); while(~scanf("%d",&n)){ V=(1<>1]+(s&1); for(Re i=1;i<=n;++i)if(s&(1<