Identifier
Images
=>
Cc0005;cc-rep-0Cc0014;cc-rep-1Cc0029;cc-rep-2
[1,0]=>([],1)=>([],1)
[1,0,1,0]=>([(0,1)],2)=>([(0,1)],2)
[1,1,0,0]=>([(0,1)],2)=>([(0,1)],2)
[1,0,1,0,1,0]=>([(0,2),(2,1)],3)=>([(0,2),(2,1)],3)
[1,0,1,1,0,0]=>([(0,2),(2,1)],3)=>([(0,2),(2,1)],3)
[1,1,0,0,1,0]=>([(0,2),(2,1)],3)=>([(0,2),(2,1)],3)
[1,1,0,1,0,0]=>([(0,2),(2,1)],3)=>([(0,2),(2,1)],3)
[1,1,1,0,0,0]=>([(0,1),(0,2),(1,3),(2,3)],4)=>([(0,2),(2,1)],3)
[1,0,1,0,1,0,1,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,0,1,0,1,1,0,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,0,1,1,0,0,1,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,0,1,1,0,1,0,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,0,1,1,1,0,0,0]=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)=>([(0,3),(2,1),(3,2)],4)
[1,1,0,0,1,0,1,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,1,0,0,1,1,0,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,1,0,1,0,0,1,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,1,0,1,0,1,0,0]=>([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
[1,1,0,1,1,0,0,0]=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)=>([(0,3),(2,1),(3,2)],4)
[1,1,1,0,0,0,1,0]=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)=>([(0,3),(2,1),(3,2)],4)
[1,1,1,0,0,1,0,0]=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)=>([(0,3),(2,1),(3,2)],4)
[1,1,1,0,1,0,0,0]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,1,0,0,0,0]=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,0,1,0,1,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,0,1,0,1,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,0,1,1,0,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,0,1,1,0,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,0,1,1,1,0,0,0]=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,0,0,1,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,0,0,1,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,0,1,0,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,0,1,0,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,0,1,1,0,0,0]=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,1,0,0,0,1,0]=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,1,0,0,1,0,0]=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,0,1,1,1,0,1,0,0,0]=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,1,0,0,0,0]=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,0,1,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,0,1,0,1,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,0,1,1,0,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,0,1,1,0,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,0,1,1,1,0,0,0]=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,0,0,1,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,0,0,1,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,0,1,0,0,1,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,0,1,0,1,0,0]=>([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,0,1,1,0,0,0]=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,1,0,0,0,1,0]=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,1,0,0,1,0,0]=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,0,1,1,0,1,0,0,0]=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,1,0,0,0,0]=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,0,1,0,1,0]=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,0,0,0,1,1,0,0]=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,0,0,1,0,0,1,0]=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,0,0,1,0,1,0,0]=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,0,0,1,1,0,0,0]=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
[1,1,1,0,1,0,0,0,1,0]=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,1,0,0,1,0,0]=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,1,0,1,0,0,0]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)
[1,1,1,0,1,1,0,0,0,0]=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,0,0,1,0]=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,1,0,0,0,1,0,0]=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,1,0,0,1,0,0,0]=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,1,0,0,0,0]=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)
[1,1,1,1,1,0,0,0,0,0]=>([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7),(6,8),(7,8)],9)=>([(0,6),(1,8),(2,8),(3,7),(4,7),(6,1),(6,2),(7,5),(8,3),(8,4)],9)
[1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,0,1,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,0,1,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,0,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,0,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,0,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,0,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,1,0,0,0,1,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,1,0,0,1,0,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,0,1,1,1,0,1,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,1,0,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,0,1,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,0,1,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,0,1,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,0,1,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,0,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,0,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,0,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,0,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,1,0,0,0,1,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,1,0,0,1,0,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,0,1,1,0,1,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,1,0,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,0,0,1,1,0,0,0]=>([(0,5),(1,7),(2,7),(3,6),(4,6),(5,1),(5,2),(7,3),(7,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,0,1,1,1,0,1,0,0,0,1,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,1,0,1,0,0,1,0,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,1,0,1,0,1,0,0,0]=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
[1,0,1,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,1,1,0,0,0,0,1,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,1,1,0,0,0,1,0,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,1,1,0,1,0,0,0,0]=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
[1,0,1,1,1,1,1,0,0,0,0,0]=>([(0,5),(1,8),(2,7),(3,2),(3,6),(4,1),(4,6),(5,3),(5,4),(6,7),(6,8),(7,9),(8,9)],10)=>([(0,6),(1,9),(2,9),(3,8),(4,8),(6,7),(7,1),(7,2),(8,5),(9,3),(9,4)],10)
[1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,0,1,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,0,1,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,0,1,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,0,1,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,0,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,0,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,0,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,0,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,0,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,1,0,0,0,1,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,1,0,0,1,0,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,0,1,1,1,0,1,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,1,0,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,0,1,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,0,1,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,0,1,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,0,1,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,0,0,1,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,0,0,1,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,0,1,0,0,1,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,0,1,1,0,0,0]=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,1,0,0,0,1,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,1,0,0,1,0,0]=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,0,1,1,0,1,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,1,0,0,0,0]=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,0,0,1,1,0,0,0]=>([(0,5),(1,7),(2,7),(3,6),(4,6),(5,1),(5,2),(7,3),(7,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,0,1,1,0,1,0,0,0,1,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,1,0,1,0,0,1,0,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,1,0,1,0,1,0,0,0]=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
[1,1,0,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,1,1,0,0,0,0,1,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,1,1,0,0,0,1,0,0]=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,1,1,0,1,0,0,0,0]=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
[1,1,0,1,1,1,1,0,0,0,0,0]=>([(0,5),(1,8),(2,7),(3,2),(3,6),(4,1),(4,6),(5,3),(5,4),(6,7),(6,8),(7,9),(8,9)],10)=>([(0,6),(1,9),(2,9),(3,8),(4,8),(6,7),(7,1),(7,2),(8,5),(9,3),(9,4)],10)
[1,1,1,0,0,0,1,0,1,0,1,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,0,1,0,1,1,0,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,0,1,1,0,0,1,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,0,1,1,0,1,0,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,0,1,1,1,0,0,0]=>([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,0,0,1,0,1,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,0,0,1,1,0,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,0,1,0,0,1,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,0,1,0,1,0,0]=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,0,1,1,0,0,0]=>([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,1,0,0,0,1,0]=>([(0,4),(0,5),(1,6),(2,6),(4,7),(5,7),(6,3),(7,1),(7,2)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,1,0,0,1,0,0]=>([(0,4),(0,5),(1,6),(2,6),(4,7),(5,7),(6,3),(7,1),(7,2)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
[1,1,1,0,0,1,1,0,1,0,0,0]=>([(0,3),(0,4),(1,7),(2,6),(3,8),(4,8),(5,1),(5,6),(6,7),(8,2),(8,5)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,0,1,1,1,0,0,0,0]=>([(0,3),(0,4),(1,7),(2,6),(3,8),(4,8),(5,1),(5,6),(6,7),(8,2),(8,5)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,0,0,1,0,1,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,0,0,1,1,0,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,0,1,0,0,1,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,0,1,0,1,0,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,0,1,1,0,0,0]=>([(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,1),(5,7),(7,8),(8,2),(8,3)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,0,1,0,1,0,0,0,1,0]=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
[1,1,1,0,1,0,1,0,0,1,0,0]=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
[1,1,1,0,1,0,1,0,1,0,0,0]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10)=>([(0,7),(2,10),(3,11),(4,9),(5,4),(5,11),(6,1),(7,8),(8,3),(8,5),(9,10),(10,6),(11,2),(11,9)],12)
[1,1,1,0,1,0,1,1,0,0,0,0]=>([(0,3),(0,5),(1,8),(2,7),(3,6),(4,2),(4,9),(5,4),(5,6),(6,9),(7,8),(9,1),(9,7)],10)=>([(0,7),(2,9),(3,9),(4,1),(5,4),(6,5),(7,8),(8,2),(8,3),(9,6)],10)
[1,1,1,0,1,1,0,0,0,0,1,0]=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,1,0,1,1,0,0,0,1,0,0]=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,1,0,1,1,0,0,1,0,0,0]=>([(0,4),(0,5),(1,7),(2,9),(3,6),(4,8),(5,2),(5,8),(6,7),(8,3),(8,9),(9,1),(9,6)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,0,1,1,0,1,0,0,0,0]=>([(0,3),(0,5),(1,8),(2,7),(3,6),(4,2),(4,9),(5,1),(5,6),(6,4),(6,8),(8,9),(9,7)],10)=>([(0,7),(2,9),(3,9),(4,5),(5,8),(6,1),(7,4),(8,2),(8,3),(9,6)],10)
[1,1,1,0,1,1,1,0,0,0,0,0]=>([(0,3),(0,5),(1,7),(2,8),(3,10),(4,2),(4,6),(5,4),(5,10),(6,7),(6,8),(7,9),(8,9),(10,1),(10,6)],11)=>([(0,7),(1,10),(2,10),(4,11),(5,9),(6,4),(6,9),(7,8),(8,5),(8,6),(9,11),(10,3),(11,1),(11,2)],12)
[1,1,1,1,0,0,0,0,1,0,1,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,0,0,1,1,0,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,0,1,0,0,1,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,0,1,0,1,0,0]=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,0,1,1,0,0,0]=>([(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,1),(5,7),(7,8),(8,2),(8,3)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,1,1,0,0,1,0,0,0,1,0]=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,1,1,0,0,1,0,0,1,0,0]=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,1,1,0,0,1,0,1,0,0,0]=>([(0,3),(0,5),(1,8),(2,7),(3,6),(4,2),(4,9),(5,1),(5,6),(6,4),(6,8),(8,9),(9,7)],10)=>([(0,7),(2,9),(3,9),(4,5),(5,8),(6,1),(7,4),(8,2),(8,3),(9,6)],10)
[1,1,1,1,0,0,1,1,0,0,0,0]=>([(0,4),(0,5),(1,7),(2,9),(3,6),(4,8),(5,2),(5,8),(6,7),(8,3),(8,9),(9,1),(9,6)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,1,0,0,0,0,1,0]=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
[1,1,1,1,0,1,0,0,0,1,0,0]=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
[1,1,1,1,0,1,0,0,1,0,0,0]=>([(0,3),(0,5),(1,8),(2,7),(3,6),(4,2),(4,9),(5,4),(5,6),(6,9),(7,8),(9,1),(9,7)],10)=>([(0,7),(2,9),(3,9),(4,1),(5,4),(6,5),(7,8),(8,2),(8,3),(9,6)],10)
[1,1,1,1,0,1,0,1,0,0,0,0]=>([(0,2),(0,5),(1,7),(2,6),(3,4),(3,9),(4,1),(4,8),(5,3),(5,6),(6,9),(8,7),(9,8)],10)=>([(0,7),(2,10),(3,11),(4,9),(5,4),(5,11),(6,1),(7,8),(8,3),(8,5),(9,10),(10,6),(11,2),(11,9)],12)
[1,1,1,1,0,1,1,0,0,0,0,0]=>([(0,3),(0,5),(1,7),(2,8),(3,10),(4,2),(4,6),(5,4),(5,10),(6,7),(6,8),(7,9),(8,9),(10,1),(10,6)],11)=>([(0,7),(1,10),(2,10),(4,11),(5,9),(6,4),(6,9),(7,8),(8,5),(8,6),(9,11),(10,3),(11,1),(11,2)],12)
[1,1,1,1,1,0,0,0,0,0,1,0]=>([(0,4),(0,5),(2,8),(3,7),(4,3),(4,6),(5,2),(5,6),(6,7),(6,8),(7,9),(8,9),(9,1)],10)=>([(0,7),(1,9),(2,9),(4,8),(5,8),(6,3),(7,1),(7,2),(8,6),(9,4),(9,5)],10)
[1,1,1,1,1,0,0,0,0,1,0,0]=>([(0,4),(0,5),(2,8),(3,7),(4,3),(4,6),(5,2),(5,6),(6,7),(6,8),(7,9),(8,9),(9,1)],10)=>([(0,7),(1,9),(2,9),(4,8),(5,8),(6,3),(7,1),(7,2),(8,6),(9,4),(9,5)],10)
[1,1,1,1,1,0,0,0,1,0,0,0]=>([(0,4),(0,5),(1,10),(2,7),(3,8),(4,3),(4,6),(5,1),(5,6),(6,8),(6,10),(8,9),(9,7),(10,2),(10,9)],11)=>([(0,8),(2,11),(3,11),(4,10),(5,9),(6,4),(6,9),(7,1),(8,2),(8,3),(9,10),(10,7),(11,5),(11,6)],12)
[1,1,1,1,1,0,0,1,0,0,0,0]=>([(0,4),(0,5),(1,10),(2,7),(3,8),(4,3),(4,6),(5,1),(5,6),(6,8),(6,10),(8,9),(9,7),(10,2),(10,9)],11)=>([(0,8),(2,11),(3,11),(4,10),(5,9),(6,4),(6,9),(7,1),(8,2),(8,3),(9,10),(10,7),(11,5),(11,6)],12)
[1,1,1,1,1,0,1,0,0,0,0,0]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12)=>([(0,9),(1,11),(2,10),(3,14),(5,13),(6,12),(7,1),(7,13),(8,2),(8,14),(9,3),(9,8),(10,7),(11,12),(12,4),(13,6),(13,11),(14,5),(14,10)],15)
[1,1,1,1,1,1,0,0,0,0,0,0]=>([(0,4),(0,5),(1,9),(2,3),(2,11),(3,8),(4,1),(4,10),(5,2),(5,10),(7,6),(8,6),(9,7),(10,9),(10,11),(11,7),(11,8)],12)=>([(0,9),(1,11),(2,10),(3,14),(5,13),(6,12),(7,1),(7,13),(8,2),(8,14),(9,3),(9,8),(10,7),(11,12),(12,4),(13,6),(13,11),(14,5),(14,10)],15)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,0,1,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,0,1,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,0,1,1,0,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,1,0,1,0,1,0,1,0,0,0]=>([(0,6),(1,7),(2,8),(3,4),(3,7),(4,5),(4,10),(5,2),(5,9),(6,1),(6,3),(7,10),(9,8),(10,9)],11)=>([(0,8),(2,11),(3,12),(4,10),(5,9),(6,4),(6,12),(7,1),(8,5),(9,3),(9,6),(10,11),(11,7),(12,2),(12,10)],13)
[1,0,1,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,1,0,1,1,0,1,0,0,0,0]=>([(0,6),(1,7),(2,8),(3,9),(4,3),(4,7),(5,2),(5,10),(6,1),(6,4),(7,5),(7,9),(9,10),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,6),(5,4),(6,9),(7,1),(8,5),(9,2),(9,3),(10,7)],11)
[1,0,1,1,1,0,1,1,1,0,0,0,0,0]=>([(0,6),(1,11),(2,8),(3,9),(4,5),(4,11),(5,3),(5,7),(6,1),(6,4),(7,8),(7,9),(8,10),(9,10),(11,2),(11,7)],12)=>([(0,8),(1,12),(2,11),(3,11),(5,10),(6,9),(7,1),(7,10),(8,6),(9,5),(9,7),(10,12),(11,4),(12,2),(12,3)],13)
[1,0,1,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,1,1,0,0,1,0,1,0,0,0]=>([(0,6),(1,7),(2,8),(3,9),(4,3),(4,7),(5,2),(5,10),(6,1),(6,4),(7,5),(7,9),(9,10),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,6),(5,4),(6,9),(7,1),(8,5),(9,2),(9,3),(10,7)],11)
[1,0,1,1,1,1,0,1,0,1,0,0,0,0]=>([(0,6),(1,7),(2,8),(3,4),(3,7),(4,5),(4,10),(5,2),(5,9),(6,1),(6,3),(7,10),(9,8),(10,9)],11)=>([(0,8),(2,11),(3,12),(4,10),(5,9),(6,4),(6,12),(7,1),(8,5),(9,3),(9,6),(10,11),(11,7),(12,2),(12,10)],13)
[1,0,1,1,1,1,0,1,1,0,0,0,0,0]=>([(0,6),(1,11),(2,8),(3,9),(4,5),(4,11),(5,3),(5,7),(6,1),(6,4),(7,8),(7,9),(8,10),(9,10),(11,2),(11,7)],12)=>([(0,8),(1,12),(2,11),(3,11),(5,10),(6,9),(7,1),(7,10),(8,6),(9,5),(9,7),(10,12),(11,4),(12,2),(12,3)],13)
[1,0,1,1,1,1,1,0,1,0,0,0,0,0]=>([(0,6),(1,9),(2,8),(3,5),(3,7),(4,1),(4,7),(5,2),(5,10),(6,3),(6,4),(7,9),(7,10),(8,12),(9,11),(10,8),(10,11),(11,12)],13)=>([(0,9),(1,12),(2,11),(3,15),(5,14),(6,13),(7,1),(7,14),(8,2),(8,15),(9,10),(10,3),(10,8),(11,7),(12,13),(13,4),(14,6),(14,12),(15,5),(15,11)],16)
[1,0,1,1,1,1,1,1,0,0,0,0,0,0]=>([(0,6),(1,9),(2,8),(3,5),(3,7),(4,1),(4,7),(5,2),(5,10),(6,3),(6,4),(7,9),(7,10),(8,12),(9,11),(10,8),(10,11),(11,12)],13)=>([(0,9),(1,12),(2,11),(3,15),(5,14),(6,13),(7,1),(7,14),(8,2),(8,15),(9,10),(10,3),(10,8),(11,7),(12,13),(13,4),(14,6),(14,12),(15,5),(15,11)],16)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,0,1,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,0,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,0,1,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,0,1,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,0,1,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,0,1,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,0,1,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,0,1,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,1,0,0,1,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,1,0,0,1,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,1,0,1,0,0,1,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,0,0,0,1,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,0,0,0,1,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,0,0,1,0,0,1,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,0,0,1,0,1,0,0]=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
[1,1,0,1,0,1,1,0,1,1,0,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,1,1,0,0,1,0,0,0]=>([(0,5),(1,8),(2,9),(3,7),(4,3),(4,9),(5,6),(6,2),(6,4),(7,8),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,1,0,1,0,1,0,1,0,0,0]=>([(0,6),(1,7),(2,8),(3,4),(3,7),(4,5),(4,10),(5,2),(5,9),(6,1),(6,3),(7,10),(9,8),(10,9)],11)=>([(0,8),(2,11),(3,12),(4,10),(5,9),(6,4),(6,12),(7,1),(8,5),(9,3),(9,6),(10,11),(11,7),(12,2),(12,10)],13)
[1,1,0,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,1,0,1,1,0,1,0,0,0,0]=>([(0,6),(1,7),(2,8),(3,9),(4,3),(4,7),(5,2),(5,10),(6,1),(6,4),(7,5),(7,9),(9,10),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,6),(5,4),(6,9),(7,1),(8,5),(9,2),(9,3),(10,7)],11)
[1,1,0,1,1,0,1,1,1,0,0,0,0,0]=>([(0,6),(1,11),(2,8),(3,9),(4,5),(4,11),(5,3),(5,7),(6,1),(6,4),(7,8),(7,9),(8,10),(9,10),(11,2),(11,7)],12)=>([(0,8),(1,12),(2,11),(3,11),(5,10),(6,9),(7,1),(7,10),(8,6),(9,5),(9,7),(10,12),(11,4),(12,2),(12,3)],13)
[1,1,0,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,7),(2,9),(4,8),(5,1),(5,9),(6,2),(6,5),(7,8),(8,3),(9,4),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,1,1,0,0,1,0,1,0,0,0]=>([(0,6),(1,7),(2,8),(3,9),(4,3),(4,7),(5,2),(5,10),(6,1),(6,4),(7,5),(7,9),(9,10),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,6),(5,4),(6,9),(7,1),(8,5),(9,2),(9,3),(10,7)],11)
[1,1,0,1,1,1,0,1,0,1,0,0,0,0]=>([(0,6),(1,7),(2,8),(3,4),(3,7),(4,5),(4,10),(5,2),(5,9),(6,1),(6,3),(7,10),(9,8),(10,9)],11)=>([(0,8),(2,11),(3,12),(4,10),(5,9),(6,4),(6,12),(7,1),(8,5),(9,3),(9,6),(10,11),(11,7),(12,2),(12,10)],13)
[1,1,0,1,1,1,0,1,1,0,0,0,0,0]=>([(0,6),(1,11),(2,8),(3,9),(4,5),(4,11),(5,3),(5,7),(6,1),(6,4),(7,8),(7,9),(8,10),(9,10),(11,2),(11,7)],12)=>([(0,8),(1,12),(2,11),(3,11),(5,10),(6,9),(7,1),(7,10),(8,6),(9,5),(9,7),(10,12),(11,4),(12,2),(12,3)],13)
[1,1,0,1,1,1,1,0,1,0,0,0,0,0]=>([(0,6),(1,9),(2,8),(3,5),(3,7),(4,1),(4,7),(5,2),(5,10),(6,3),(6,4),(7,9),(7,10),(8,12),(9,11),(10,8),(10,11),(11,12)],13)=>([(0,9),(1,12),(2,11),(3,15),(5,14),(6,13),(7,1),(7,14),(8,2),(8,15),(9,10),(10,3),(10,8),(11,7),(12,13),(13,4),(14,6),(14,12),(15,5),(15,11)],16)
[1,1,0,1,1,1,1,1,0,0,0,0,0,0]=>([(0,6),(1,9),(2,8),(3,5),(3,7),(4,1),(4,7),(5,2),(5,10),(6,3),(6,4),(7,9),(7,10),(8,12),(9,11),(10,8),(10,11),(11,12)],13)=>([(0,9),(1,12),(2,11),(3,15),(5,14),(6,13),(7,1),(7,14),(8,2),(8,15),(9,10),(10,3),(10,8),(11,7),(12,13),(13,4),(14,6),(14,12),(15,5),(15,11)],16)
[1,1,1,0,1,0,1,0,1,0,0,0,1,0]=>([(0,3),(0,6),(2,10),(3,7),(4,5),(4,9),(5,2),(5,8),(6,4),(6,7),(7,9),(8,10),(9,8),(10,1)],11)=>([(0,8),(1,11),(2,12),(4,10),(5,3),(6,4),(6,12),(7,5),(8,9),(9,2),(9,6),(10,11),(11,7),(12,1),(12,10)],13)
[1,1,1,0,1,0,1,0,1,0,0,1,0,0]=>([(0,3),(0,6),(2,10),(3,7),(4,5),(4,9),(5,2),(5,8),(6,4),(6,7),(7,9),(8,10),(9,8),(10,1)],11)=>([(0,8),(1,11),(2,12),(4,10),(5,3),(6,4),(6,12),(7,5),(8,9),(9,2),(9,6),(10,11),(11,7),(12,1),(12,10)],13)
[1,1,1,0,1,0,1,0,1,0,1,0,0,0]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12)=>([(0,9),(2,16),(3,15),(4,12),(5,14),(6,7),(6,15),(7,5),(7,11),(8,1),(9,10),(10,3),(10,6),(11,14),(11,16),(12,8),(13,12),(14,13),(15,2),(15,11),(16,4),(16,13)],17)
[1,1,1,0,1,0,1,1,0,0,0,0,1,0]=>([(0,4),(0,6),(1,9),(3,8),(4,7),(5,3),(5,10),(6,5),(6,7),(7,10),(8,9),(9,2),(10,1),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,5),(5,1),(6,4),(7,6),(8,9),(9,2),(9,3),(10,7)],11)
[1,1,1,0,1,0,1,1,0,0,0,1,0,0]=>([(0,4),(0,6),(1,9),(3,8),(4,7),(5,3),(5,10),(6,5),(6,7),(7,10),(8,9),(9,2),(10,1),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,5),(5,1),(6,4),(7,6),(8,9),(9,2),(9,3),(10,7)],11)
[1,1,1,0,1,1,0,0,0,0,1,0,1,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,0,1,1,0,0,0,0,1,1,0,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,0,1,1,0,0,0,1,0,0,1,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,0,1,1,0,0,0,1,0,1,0,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>([(0,4),(0,6),(1,8),(3,7),(4,9),(5,2),(6,3),(6,9),(7,8),(8,5),(9,1),(9,7)],10)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,1,1,0,1,0,0,1,0,0,0,1,0]=>([(0,4),(0,6),(1,9),(3,8),(4,7),(5,3),(5,10),(6,5),(6,7),(7,10),(8,9),(9,2),(10,1),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,5),(5,1),(6,4),(7,6),(8,9),(9,2),(9,3),(10,7)],11)
[1,1,1,1,0,1,0,0,1,0,0,1,0,0]=>([(0,4),(0,6),(1,9),(3,8),(4,7),(5,3),(5,10),(6,5),(6,7),(7,10),(8,9),(9,2),(10,1),(10,8)],11)=>([(0,8),(2,10),(3,10),(4,5),(5,1),(6,4),(7,6),(8,9),(9,2),(9,3),(10,7)],11)
[1,1,1,1,0,1,0,1,0,0,0,0,1,0]=>([(0,3),(0,6),(2,10),(3,7),(4,5),(4,9),(5,2),(5,8),(6,4),(6,7),(7,9),(8,10),(9,8),(10,1)],11)=>([(0,8),(1,11),(2,12),(4,10),(5,3),(6,4),(6,12),(7,5),(8,9),(9,2),(9,6),(10,11),(11,7),(12,1),(12,10)],13)
[1,1,1,1,0,1,0,1,0,0,0,1,0,0]=>([(0,3),(0,6),(2,10),(3,7),(4,5),(4,9),(5,2),(5,8),(6,4),(6,7),(7,9),(8,10),(9,8),(10,1)],11)=>([(0,8),(1,11),(2,12),(4,10),(5,3),(6,4),(6,12),(7,5),(8,9),(9,2),(9,6),(10,11),(11,7),(12,1),(12,10)],13)
[1,1,1,1,0,1,0,1,0,1,0,0,0,0]=>([(0,2),(0,6),(1,8),(2,7),(3,5),(3,9),(4,3),(4,11),(5,1),(5,10),(6,4),(6,7),(7,11),(9,10),(10,8),(11,9)],12)=>([(0,9),(2,16),(3,15),(4,12),(5,14),(6,7),(6,15),(7,5),(7,11),(8,1),(9,10),(10,3),(10,6),(11,14),(11,16),(12,8),(13,12),(14,13),(15,2),(15,11),(16,4),(16,13)],17)
[1,1,1,1,1,0,0,0,1,0,0,0,1,0]=>([(0,5),(0,6),(2,11),(3,10),(4,9),(5,3),(5,7),(6,4),(6,7),(7,9),(7,10),(8,11),(9,8),(10,2),(10,8),(11,1)],12)=>([(0,9),(1,11),(2,12),(3,12),(5,10),(6,4),(7,1),(7,10),(8,6),(9,2),(9,3),(10,11),(11,8),(12,5),(12,7)],13)
[1,1,1,1,1,0,0,0,1,0,0,1,0,0]=>([(0,5),(0,6),(2,11),(3,10),(4,9),(5,3),(5,7),(6,4),(6,7),(7,9),(7,10),(8,11),(9,8),(10,2),(10,8),(11,1)],12)=>([(0,9),(1,11),(2,12),(3,12),(5,10),(6,4),(7,1),(7,10),(8,6),(9,2),(9,3),(10,11),(11,8),(12,5),(12,7)],13)
[1,1,1,1,1,0,0,1,0,0,0,0,1,0]=>([(0,5),(0,6),(2,11),(3,10),(4,9),(5,3),(5,7),(6,4),(6,7),(7,9),(7,10),(8,11),(9,8),(10,2),(10,8),(11,1)],12)=>([(0,9),(1,11),(2,12),(3,12),(5,10),(6,4),(7,1),(7,10),(8,6),(9,2),(9,3),(10,11),(11,8),(12,5),(12,7)],13)
[1,1,1,1,1,0,0,1,0,0,0,1,0,0]=>([(0,5),(0,6),(2,11),(3,10),(4,9),(5,3),(5,7),(6,4),(6,7),(7,9),(7,10),(8,11),(9,8),(10,2),(10,8),(11,1)],12)=>([(0,9),(1,11),(2,12),(3,12),(5,10),(6,4),(7,1),(7,10),(8,6),(9,2),(9,3),(10,11),(11,8),(12,5),(12,7)],13)
[1,1,1,1,1,0,1,0,0,0,0,0,1,0]=>([(0,5),(0,6),(2,9),(3,8),(4,2),(4,10),(5,3),(5,7),(6,4),(6,7),(7,8),(7,10),(8,11),(9,12),(10,9),(10,11),(11,12),(12,1)],13)=>([(0,10),(1,13),(2,15),(3,14),(5,12),(6,11),(7,5),(7,14),(8,6),(8,15),(9,4),(10,3),(10,7),(11,13),(12,8),(13,9),(14,2),(14,12),(15,1),(15,11)],16)
[1,1,1,1,1,0,1,0,0,0,0,1,0,0]=>([(0,5),(0,6),(2,9),(3,8),(4,2),(4,10),(5,3),(5,7),(6,4),(6,7),(7,8),(7,10),(8,11),(9,12),(10,9),(10,11),(11,12),(12,1)],13)=>([(0,10),(1,13),(2,15),(3,14),(5,12),(6,11),(7,5),(7,14),(8,6),(8,15),(9,4),(10,3),(10,7),(11,13),(12,8),(13,9),(14,2),(14,12),(15,1),(15,11)],16)
[1,1,1,1,1,1,0,0,0,0,0,0,1,0]=>([(0,5),(0,6),(2,9),(3,8),(4,2),(4,10),(5,3),(5,7),(6,4),(6,7),(7,8),(7,10),(8,11),(9,12),(10,9),(10,11),(11,12),(12,1)],13)=>([(0,10),(1,13),(2,15),(3,14),(5,12),(6,11),(7,5),(7,14),(8,6),(8,15),(9,4),(10,3),(10,7),(11,13),(12,8),(13,9),(14,2),(14,12),(15,1),(15,11)],16)
[1,1,1,1,1,1,0,0,0,0,0,1,0,0]=>([(0,5),(0,6),(2,9),(3,8),(4,2),(4,10),(5,3),(5,7),(6,4),(6,7),(7,8),(7,10),(8,11),(9,12),(10,9),(10,11),(11,12),(12,1)],13)=>([(0,10),(1,13),(2,15),(3,14),(5,12),(6,11),(7,5),(7,14),(8,6),(8,15),(9,4),(10,3),(10,7),(11,13),(12,8),(13,9),(14,2),(14,12),(15,1),(15,11)],16)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,0,1,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,0,1,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,0,1,1,0,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,0,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,0,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,0,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,0,1,1,0,0,0,0,1,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,0,1,1,0,0,0,0,1,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,0,1,1,0,0,0,1,0,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,0,1,1,0,0,0,1,0,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,0,1,1,0,1,0,0,1,0,0,0]=>([(0,7),(1,10),(2,11),(3,8),(4,9),(5,2),(5,9),(6,3),(6,12),(7,4),(7,5),(8,10),(9,6),(9,11),(11,12),(12,1),(12,8)],13)=>([(0,10),(2,12),(3,12),(4,8),(5,1),(6,5),(7,4),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,0,1,1,1,0,1,1,1,0,0,1,0,0,0,0]=>([(0,7),(1,13),(2,12),(3,9),(4,11),(5,6),(5,12),(6,4),(6,8),(7,2),(7,5),(8,11),(8,13),(10,9),(11,10),(12,1),(12,8),(13,3),(13,10)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,11),(7,2),(7,12),(8,3),(8,13),(9,1),(10,6),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,0,1,1,1,0,1,1,1,0,1,0,0,0,0,0]=>([(0,7),(1,14),(2,9),(3,10),(4,5),(4,14),(5,6),(5,8),(6,2),(6,11),(7,1),(7,4),(8,10),(8,11),(9,13),(10,12),(11,9),(11,12),(12,13),(14,3),(14,8)],15)=>([(0,11),(1,18),(3,17),(4,15),(5,19),(6,13),(7,12),(8,5),(8,14),(9,4),(9,14),(10,6),(10,17),(11,7),(12,8),(12,9),(13,18),(14,15),(14,19),(15,16),(16,10),(17,1),(17,13),(18,2),(19,3),(19,16)],20)
[1,0,1,1,1,1,0,0,1,0,0,0,1,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,1,0,0,1,0,0,0,1,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,1,0,0,1,0,0,1,0,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0]=>([(0,7),(1,10),(2,11),(3,8),(4,9),(5,2),(5,9),(6,3),(6,12),(7,4),(7,5),(8,10),(9,6),(9,11),(11,12),(12,1),(12,8)],13)=>([(0,10),(2,12),(3,12),(4,8),(5,1),(6,5),(7,4),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,0,1,1,1,1,0,1,1,0,0,0,1,0,0,0]=>([(0,7),(1,13),(2,12),(3,9),(4,11),(5,6),(5,12),(6,4),(6,8),(7,2),(7,5),(8,11),(8,13),(10,9),(11,10),(12,1),(12,8),(13,3),(13,10)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,11),(7,2),(7,12),(8,3),(8,13),(9,1),(10,6),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0]=>([(0,7),(1,14),(2,9),(3,10),(4,5),(4,14),(5,6),(5,8),(6,2),(6,11),(7,1),(7,4),(8,10),(8,11),(9,13),(10,12),(11,9),(11,12),(12,13),(14,3),(14,8)],15)=>([(0,11),(1,18),(3,17),(4,15),(5,19),(6,13),(7,12),(8,5),(8,14),(9,4),(9,14),(10,6),(10,17),(11,7),(12,8),(12,9),(13,18),(14,15),(14,19),(15,16),(16,10),(17,1),(17,13),(18,2),(19,3),(19,16)],20)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,0,1,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,0,1,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,0,1,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,0,1,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,0,1,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,0,1,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
[1,1,0,1,0,1,1,0,1,1,0,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,1,0,1,1,0,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,1,1,0,0,1,0,0,0,1,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,1,1,0,0,1,0,0,1,0,0]=>([(0,6),(1,8),(2,10),(4,9),(5,1),(5,10),(6,7),(7,2),(7,5),(8,9),(9,3),(10,4),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,0,1,1,0,0,0,0,1,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,0,1,1,0,0,0,0,1,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,0,1,1,0,0,0,1,0,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,0,1,1,0,0,0,1,0,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,0,1,1,0,1,0,0,1,0,0,0]=>([(0,7),(1,10),(2,11),(3,8),(4,9),(5,2),(5,9),(6,3),(6,12),(7,4),(7,5),(8,10),(9,6),(9,11),(11,12),(12,1),(12,8)],13)=>([(0,10),(2,12),(3,12),(4,8),(5,1),(6,5),(7,4),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,0,1,1,0,1,1,1,0,0,1,0,0,0,0]=>([(0,7),(1,13),(2,12),(3,9),(4,11),(5,6),(5,12),(6,4),(6,8),(7,2),(7,5),(8,11),(8,13),(10,9),(11,10),(12,1),(12,8),(13,3),(13,10)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,11),(7,2),(7,12),(8,3),(8,13),(9,1),(10,6),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,0,1,1,0,1,1,1,0,1,0,0,0,0,0]=>([(0,7),(1,14),(2,9),(3,10),(4,5),(4,14),(5,6),(5,8),(6,2),(6,11),(7,1),(7,4),(8,10),(8,11),(9,13),(10,12),(11,9),(11,12),(12,13),(14,3),(14,8)],15)=>([(0,11),(1,18),(3,17),(4,15),(5,19),(6,13),(7,12),(8,5),(8,14),(9,4),(9,14),(10,6),(10,17),(11,7),(12,8),(12,9),(13,18),(14,15),(14,19),(15,16),(16,10),(17,1),(17,13),(18,2),(19,3),(19,16)],20)
[1,1,0,1,1,1,0,0,1,0,0,0,1,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,1,0,0,1,0,0,0,1,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,1,0,0,1,0,0,1,0,0,1,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,1,0,0,1,0,0,1,0,1,0,0]=>([(0,7),(2,9),(3,10),(4,8),(5,4),(5,10),(6,1),(7,3),(7,5),(8,9),(9,6),(10,2),(10,8)],11)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,1,1,0,0,1,0,1,1,0,0,0,0]=>([(0,7),(1,10),(2,11),(3,8),(4,9),(5,2),(5,9),(6,3),(6,12),(7,4),(7,5),(8,10),(9,6),(9,11),(11,12),(12,1),(12,8)],13)=>([(0,10),(2,12),(3,12),(4,8),(5,1),(6,5),(7,4),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,0,1,1,1,0,1,1,0,0,0,1,0,0,0]=>([(0,7),(1,13),(2,12),(3,9),(4,11),(5,6),(5,12),(6,4),(6,8),(7,2),(7,5),(8,11),(8,13),(10,9),(11,10),(12,1),(12,8),(13,3),(13,10)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,11),(7,2),(7,12),(8,3),(8,13),(9,1),(10,6),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0]=>([(0,7),(1,14),(2,9),(3,10),(4,5),(4,14),(5,6),(5,8),(6,2),(6,11),(7,1),(7,4),(8,10),(8,11),(9,13),(10,12),(11,9),(11,12),(12,13),(14,3),(14,8)],15)=>([(0,11),(1,18),(3,17),(4,15),(5,19),(6,13),(7,12),(8,5),(8,14),(9,4),(9,14),(10,6),(10,17),(11,7),(12,8),(12,9),(13,18),(14,15),(14,19),(15,16),(16,10),(17,1),(17,13),(18,2),(19,3),(19,16)],20)
[1,1,1,0,1,1,0,1,0,0,1,0,0,0,1,0]=>([(0,5),(0,7),(2,10),(3,12),(4,8),(5,9),(6,4),(6,11),(7,2),(7,9),(8,12),(9,6),(9,10),(10,11),(11,3),(11,8),(12,1)],13)=>([(0,10),(2,12),(3,12),(4,5),(5,1),(6,4),(7,8),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,1,0,1,1,0,1,0,0,1,0,0,1,0,0]=>([(0,5),(0,7),(2,10),(3,12),(4,8),(5,9),(6,4),(6,11),(7,2),(7,9),(8,12),(9,6),(9,10),(10,11),(11,3),(11,8),(12,1)],13)=>([(0,10),(2,12),(3,12),(4,5),(5,1),(6,4),(7,8),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,1,0,1,1,1,0,0,1,0,0,0,0,1,0]=>([(0,5),(0,7),(1,13),(3,12),(4,10),(5,11),(6,4),(6,8),(7,6),(7,11),(8,10),(8,12),(9,13),(10,9),(11,3),(11,8),(12,1),(12,9),(13,2)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,1),(7,2),(7,12),(8,3),(8,13),(9,6),(10,11),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,1,0,1,1,1,0,0,1,0,0,0,1,0,0]=>([(0,5),(0,7),(1,13),(3,12),(4,10),(5,11),(6,4),(6,8),(7,6),(7,11),(8,10),(8,12),(9,13),(10,9),(11,3),(11,8),(12,1),(12,9),(13,2)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,1),(7,2),(7,12),(8,3),(8,13),(9,6),(10,11),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,1,1,0,0,1,0,1,1,0,0,0,0,1,0]=>([(0,5),(0,7),(2,10),(3,12),(4,8),(5,9),(6,4),(6,11),(7,2),(7,9),(8,12),(9,6),(9,10),(10,11),(11,3),(11,8),(12,1)],13)=>([(0,10),(2,12),(3,12),(4,5),(5,1),(6,4),(7,8),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,1,1,0,0,1,0,1,1,0,0,0,1,0,0]=>([(0,5),(0,7),(2,10),(3,12),(4,8),(5,9),(6,4),(6,11),(7,2),(7,9),(8,12),(9,6),(9,10),(10,11),(11,3),(11,8),(12,1)],13)=>([(0,10),(2,12),(3,12),(4,5),(5,1),(6,4),(7,8),(8,11),(9,6),(10,7),(11,2),(11,3),(12,9)],13)
[1,1,1,1,0,1,1,0,0,0,1,0,0,0,1,0]=>([(0,5),(0,7),(1,13),(3,12),(4,10),(5,11),(6,4),(6,8),(7,6),(7,11),(8,10),(8,12),(9,13),(10,9),(11,3),(11,8),(12,1),(12,9),(13,2)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,1),(7,2),(7,12),(8,3),(8,13),(9,6),(10,11),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,1,1,0,1,1,0,0,0,1,0,0,1,0,0]=>([(0,5),(0,7),(1,13),(3,12),(4,10),(5,11),(6,4),(6,8),(7,6),(7,11),(8,10),(8,12),(9,13),(10,9),(11,3),(11,8),(12,1),(12,9),(13,2)],14)=>([(0,10),(2,14),(3,15),(4,12),(5,13),(6,1),(7,2),(7,12),(8,3),(8,13),(9,6),(10,11),(11,5),(11,8),(12,14),(13,15),(14,9),(15,4),(15,7)],16)
[1,1,1,1,1,0,1,0,0,0,1,0,0,0,1,0]=>([(0,6),(0,7),(1,14),(2,13),(4,9),(5,1),(5,10),(6,4),(6,8),(7,5),(7,8),(8,9),(8,10),(9,12),(10,12),(10,14),(11,13),(12,11),(13,3),(14,2),(14,11)],15)=>([(0,12),(1,15),(2,18),(3,16),(4,19),(6,13),(7,5),(8,6),(8,19),(9,1),(9,14),(10,9),(10,18),(11,7),(12,4),(12,8),(13,10),(14,15),(14,16),(15,17),(16,17),(17,11),(18,3),(18,14),(19,2),(19,13)],20)
[1,1,1,1,1,0,1,0,0,0,1,0,0,1,0,0]=>([(0,6),(0,7),(1,14),(2,13),(4,9),(5,1),(5,10),(6,4),(6,8),(7,5),(7,8),(8,9),(8,10),(9,12),(10,12),(10,14),(11,13),(12,11),(13,3),(14,2),(14,11)],15)=>([(0,12),(1,15),(2,18),(3,16),(4,19),(6,13),(7,5),(8,6),(8,19),(9,1),(9,14),(10,9),(10,18),(11,7),(12,4),(12,8),(13,10),(14,15),(14,16),(15,17),(16,17),(17,11),(18,3),(18,14),(19,2),(19,13)],20)
[1,1,1,1,1,1,0,0,0,1,0,0,0,0,1,0]=>([(0,6),(0,7),(1,14),(2,13),(4,9),(5,1),(5,10),(6,4),(6,8),(7,5),(7,8),(8,9),(8,10),(9,12),(10,12),(10,14),(11,13),(12,11),(13,3),(14,2),(14,11)],15)=>([(0,12),(1,15),(2,18),(3,16),(4,19),(6,13),(7,5),(8,6),(8,19),(9,1),(9,14),(10,9),(10,18),(11,7),(12,4),(12,8),(13,10),(14,15),(14,16),(15,17),(16,17),(17,11),(18,3),(18,14),(19,2),(19,13)],20)
[1,1,1,1,1,1,0,0,0,1,0,0,0,1,0,0]=>([(0,6),(0,7),(1,14),(2,13),(4,9),(5,1),(5,10),(6,4),(6,8),(7,5),(7,8),(8,9),(8,10),(9,12),(10,12),(10,14),(11,13),(12,11),(13,3),(14,2),(14,11)],15)=>([(0,12),(1,15),(2,18),(3,16),(4,19),(6,13),(7,5),(8,6),(8,19),(9,1),(9,14),(10,9),(10,18),(11,7),(12,4),(12,8),(13,10),(14,15),(14,16),(15,17),(16,17),(17,11),(18,3),(18,14),(19,2),(19,13)],20)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,0,1,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,0,1,0,1,0,1,0,1,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0,1,0]=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
[1,1,0,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,1,0,1,0,0,1,0,1,0,1,0,1,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,1,0,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
[1,0,1,0,1,1,0,0,1,0,1,1,0,1,0,1,0,0]=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
Map
parallelogram poset
Description
The cell poset of the parallelogram polyomino corresponding to the Dyck path.
Let $D$ be a Dyck path of semilength $n$. The parallelogram polyomino $\gamma(D)$ is defined as follows: let $\tilde D = d_0 d_1 \dots d_{2n+1}$ be the Dyck path obtained by prepending an up step and appending a down step to $D$. Then, the upper path of $\gamma(D)$ corresponds to the sequence of steps of $\tilde D$ with even indices, and the lower path of $\gamma(D)$ corresponds to the sequence of steps of $\tilde D$ with odd indices.
This map returns the cell poset of $\gamma(D)$. In this partial order, the cells of the polyomino are the elements and a cell covers those cells with which it shares an edge and which are closer to the origin.
Let $D$ be a Dyck path of semilength $n$. The parallelogram polyomino $\gamma(D)$ is defined as follows: let $\tilde D = d_0 d_1 \dots d_{2n+1}$ be the Dyck path obtained by prepending an up step and appending a down step to $D$. Then, the upper path of $\gamma(D)$ corresponds to the sequence of steps of $\tilde D$ with even indices, and the lower path of $\gamma(D)$ corresponds to the sequence of steps of $\tilde D$ with odd indices.
This map returns the cell poset of $\gamma(D)$. In this partial order, the cells of the polyomino are the elements and a cell covers those cells with which it shares an edge and which are closer to the origin.
Map
maximal antichains
Description
The lattice of maximal antichains in a poset.
An antichain $A$ in a poset is maximal if there is no antichain of larger cardinality which contains all elements of $A$.
The set of maximal antichains can be ordered by setting $A \leq B \Leftrightarrow \mathop{\downarrow} A \subseteq \mathop{\downarrow}B$, where $\mathop{\downarrow}A$ is the order ideal generated by $A$.
An antichain $A$ in a poset is maximal if there is no antichain of larger cardinality which contains all elements of $A$.
The set of maximal antichains can be ordered by setting $A \leq B \Leftrightarrow \mathop{\downarrow} A \subseteq \mathop{\downarrow}B$, where $\mathop{\downarrow}A$ is the order ideal generated by $A$.
searching the database
Sorry, this map was not found in the database.