i;a[14];x(char*a){int b[6]={},f=1,i=48,j=0;char c[48];for(;--i;b[i/8]+=a[i]&4);for(;++i<6;j|=1<>b[i]&b[i]>*b;for(;++i<56&&a[i]-45;);return i-56?memcpy(c,a,48),c[i]=4,c[j=i%8*8+i/8]=0,f=x(c),c[i]=0,c[j]=4,j=x(c),f