Images
=>
Cc0014;cc-rep-0Cc0029;cc-rep-1
([],1)=>([],1)
([],2)=>([],1)
([(0,1)],2)=>([(0,1)],2)
([],3)=>([],1)
([(1,2)],3)=>([(0,1)],2)
([(0,1),(0,2)],3)=>([],1)
([(0,2),(2,1)],3)=>([(0,2),(2,1)],3)
([(0,2),(1,2)],3)=>([],1)
([],4)=>([],1)
([(2,3)],4)=>([(0,1)],2)
([(1,2),(1,3)],4)=>([],1)
([(0,1),(0,2),(0,3)],4)=>([],1)
([(0,2),(0,3),(3,1)],4)=>([(0,1)],2)
([(0,1),(0,2),(1,3),(2,3)],4)=>([],1)
([(1,2),(2,3)],4)=>([(0,2),(2,1)],3)
([(0,3),(3,1),(3,2)],4)=>([],1)
([(1,3),(2,3)],4)=>([],1)
([(0,3),(1,3),(3,2)],4)=>([],1)
([(0,3),(1,3),(2,3)],4)=>([],1)
([(0,3),(1,2)],4)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(1,2),(1,3)],4)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,2),(1,3)],4)=>([(0,1)],2)
([(0,3),(2,1),(3,2)],4)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,2),(2,3)],4)=>([(0,1)],2)
([],5)=>([],1)
([(3,4)],5)=>([(0,1)],2)
([(2,3),(2,4)],5)=>([],1)
([(1,2),(1,3),(1,4)],5)=>([],1)
([(0,1),(0,2),(0,3),(0,4)],5)=>([],1)
([(0,2),(0,3),(0,4),(4,1)],5)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(2,4),(3,4)],5)=>([],1)
([(0,1),(0,2),(0,3),(1,4),(2,4),(3,4)],5)=>([],1)
([(1,3),(1,4),(4,2)],5)=>([(0,1)],2)
([(0,3),(0,4),(4,1),(4,2)],5)=>([],1)
([(1,2),(1,3),(2,4),(3,4)],5)=>([],1)
([(0,2),(0,3),(2,4),(3,4),(4,1)],5)=>([],1)
([(0,3),(0,4),(3,2),(4,1)],5)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(2,4),(3,1),(3,4)],5)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(1,3),(1,4),(2,3),(2,4)],5)=>([(0,1)],2)
([(2,3),(3,4)],5)=>([(0,2),(2,1)],3)
([(1,4),(4,2),(4,3)],5)=>([],1)
([(0,4),(4,1),(4,2),(4,3)],5)=>([],1)
([(2,4),(3,4)],5)=>([],1)
([(1,4),(2,4),(4,3)],5)=>([],1)
([(0,4),(1,4),(4,2),(4,3)],5)=>([(0,1)],2)
([(1,4),(2,4),(3,4)],5)=>([],1)
([(0,4),(1,4),(2,4),(4,3)],5)=>([],1)
([(0,4),(1,4),(2,4),(3,4)],5)=>([],1)
([(0,4),(1,4),(2,3)],5)=>([(0,1)],2)
([(0,4),(1,3),(2,3),(2,4)],5)=>([],1)
([(0,4),(1,3),(1,4),(2,3),(2,4)],5)=>([],1)
([(0,3),(0,4),(1,3),(1,4),(2,3),(2,4)],5)=>([],1)
([(0,4),(1,4),(2,3),(4,2)],5)=>([],1)
([(0,4),(1,3),(2,3),(3,4)],5)=>([],1)
([(0,4),(1,4),(2,3),(2,4)],5)=>([(0,1)],2)
([(0,4),(1,4),(2,3),(3,4)],5)=>([(0,1)],2)
([(1,4),(2,3)],5)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,4),(2,3),(2,4)],5)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,4),(2,3)],5)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,3),(1,2),(1,3),(2,4),(3,4)],5)=>([(0,2),(2,1)],3)
([(1,3),(1,4),(2,3),(2,4)],5)=>([(0,1)],2)
([(0,3),(0,4),(1,3),(1,4),(4,2)],5)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,3),(1,4),(3,2),(4,2)],5)=>([(0,1)],2)
([(0,4),(1,2),(1,4),(4,3)],5)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,2),(1,3)],5)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,4)],5)=>([(0,1)],2)
([(0,2),(0,4),(3,1),(4,3)],5)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(3,4)],5)=>([],1)
([(0,2),(0,3),(1,4),(2,4),(3,1)],5)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,4),(3,4)],5)=>([],1)
([(0,3),(0,4),(1,2),(1,4)],5)=>([],1)
([(0,3),(0,4),(1,2),(1,3),(1,4)],5)=>([],1)
([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4)],5)=>([],1)
([(0,3),(0,4),(1,2),(1,3),(2,4)],5)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,2),(1,4),(3,4)],5)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(0,4),(1,2),(2,3),(2,4)],5)=>([(0,2),(2,1)],3)
([(1,4),(3,2),(4,3)],5)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(3,4),(4,1),(4,2)],5)=>([],1)
([(1,4),(2,3),(3,4)],5)=>([(0,1)],2)
([(0,4),(1,2),(2,4),(4,3)],5)=>([(0,1)],2)
([(0,3),(1,4),(4,2)],5)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(3,2),(4,1),(4,3)],5)=>([(0,1)],2)
([(0,4),(1,2),(2,3),(2,4)],5)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(2,3),(3,1),(4,2)],5)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(1,2),(2,4),(3,4)],5)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(2,3),(3,4)],5)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(2,4),(3,1),(3,2)],5)=>([],1)
([],6)=>([],1)
([(4,5)],6)=>([(0,1)],2)
([(3,4),(3,5)],6)=>([],1)
([(2,3),(2,4),(2,5)],6)=>([],1)
([(1,2),(1,3),(1,4),(1,5)],6)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(5,1)],6)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(3,5),(4,5)],6)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,5),(2,5),(3,5),(4,5)],6)=>([],1)
([(1,3),(1,4),(1,5),(5,2)],6)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(5,1),(5,2)],6)=>([],1)
([(1,2),(1,3),(1,4),(3,5),(4,5)],6)=>([],1)
([(1,2),(1,3),(1,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(3,5),(4,5),(5,1)],6)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(3,5),(4,1)],6)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,5),(2,4),(3,4),(3,5)],6)=>([],1)
([(0,1),(0,2),(0,3),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,1),(0,2),(0,3),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(3,5),(4,1),(4,5)],6)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,5),(2,4),(3,4),(4,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(3,5),(4,5),(5,1)],6)=>([],1)
([(0,3),(0,4),(0,5),(4,2),(5,1)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(3,5),(4,1),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(2,4),(2,5),(3,4),(3,5)],6)=>([(0,1)],2)
([(2,3),(2,4),(4,5)],6)=>([(0,1)],2)
([(1,4),(1,5),(5,2),(5,3)],6)=>([],1)
([(0,4),(0,5),(5,1),(5,2),(5,3)],6)=>([],1)
([(2,3),(2,4),(3,5),(4,5)],6)=>([],1)
([(1,2),(1,3),(2,5),(3,5),(5,4)],6)=>([],1)
([(0,3),(0,4),(3,5),(4,5),(5,1),(5,2)],6)=>([(0,1)],2)
([(1,4),(1,5),(4,3),(5,2)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,3),(1,4),(3,5),(4,2),(4,5)],6)=>([(0,2),(2,1)],3)
([(1,2),(1,3),(2,4),(2,5),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,2),(0,3),(2,4),(2,5),(3,4),(3,5),(5,1)],6)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6)=>([(0,1)],2)
([(0,3),(0,4),(3,5),(4,1),(4,5),(5,2)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(4,3),(5,1),(5,2)],6)=>([(0,1)],2)
([(0,3),(0,4),(3,5),(4,1),(4,2),(4,5)],6)=>([(0,1)],2)
([(0,3),(0,4),(3,2),(3,5),(4,1),(4,5)],6)=>([],1)
([(0,2),(0,3),(2,4),(2,5),(3,1),(3,4),(3,5)],6)=>([],1)
([(0,1),(0,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([],1)
([(3,4),(4,5)],6)=>([(0,2),(2,1)],3)
([(2,3),(3,4),(3,5)],6)=>([],1)
([(1,5),(5,2),(5,3),(5,4)],6)=>([],1)
([(0,5),(5,1),(5,2),(5,3),(5,4)],6)=>([],1)
([(2,3),(3,5),(5,4)],6)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(4,5),(5,2),(5,3)],6)=>([],1)
([(0,4),(4,5),(5,1),(5,2),(5,3)],6)=>([],1)
([(3,5),(4,5)],6)=>([],1)
([(2,5),(3,5),(5,4)],6)=>([],1)
([(1,5),(2,5),(5,3),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(5,2),(5,3),(5,4)],6)=>([],1)
([(2,5),(3,5),(4,5)],6)=>([],1)
([(1,5),(2,5),(3,5),(5,4)],6)=>([],1)
([(0,5),(1,5),(2,5),(5,3),(5,4)],6)=>([],1)
([(1,5),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,5),(1,5),(2,5),(3,5),(5,4)],6)=>([],1)
([(0,5),(1,5),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,5),(1,5),(2,5),(3,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,5),(3,4),(5,3)],6)=>([],1)
([(0,5),(1,5),(2,5),(3,4),(5,4)],6)=>([],1)
([(0,5),(1,5),(2,5),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,5),(3,4),(4,5)],6)=>([(0,1)],2)
([(1,5),(2,5),(3,4)],6)=>([(0,1)],2)
([(1,5),(2,4),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,4),(2,4),(2,5),(5,3)],6)=>([],1)
([(0,4),(1,3),(2,3),(2,4),(3,5),(4,5)],6)=>([],1)
([(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,4),(1,5),(2,4),(2,5),(4,3)],6)=>([],1)
([(0,5),(1,3),(1,5),(2,3),(2,5),(3,4),(5,4)],6)=>([],1)
([(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(2,4),(2,5),(5,3)],6)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6)=>([],1)
([(0,5),(1,4),(1,5),(2,4),(2,5),(5,3)],6)=>([],1)
([(1,5),(2,5),(3,4),(5,3)],6)=>([],1)
([(1,5),(2,4),(3,4),(4,5)],6)=>([],1)
([(0,5),(1,4),(2,4),(4,5),(5,3)],6)=>([],1)
([(0,5),(1,5),(2,3),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(4,2),(5,3),(5,4)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,4),(5,3),(5,4)],6)=>([],1)
([(1,5),(2,5),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(2,5),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(2,5),(3,4)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,3),(2,5),(3,4),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(2,4)],6)=>([],1)
([(0,5),(1,5),(4,2),(4,3),(5,4)],6)=>([(0,1)],2)
([(0,4),(1,4),(2,3),(2,5),(4,5)],6)=>([(0,1)],2)
([(0,3),(1,3),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(2,5)],6)=>([],1)
([(0,5),(1,2),(1,4),(3,5),(4,3)],6)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(2,5),(4,1),(4,2)],6)=>([],1)
([(0,3),(0,4),(1,5),(2,5),(3,2),(4,1)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,5),(2,3),(2,4),(4,5)],6)=>([],1)
([(0,5),(1,3),(1,4),(2,5),(3,5),(4,2)],6)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(2,5),(3,5),(4,1),(4,2)],6)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(3,5),(4,5)],6)=>([],1)
([(1,5),(2,5),(3,4),(4,5)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(3,5),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(3,4)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(3,2),(4,3),(5,4)],6)=>([],1)
([(0,4),(1,4),(2,3),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,5),(1,4),(3,5),(4,2),(4,3)],6)=>([],1)
([(0,4),(2,5),(3,5),(4,1),(4,2),(4,3)],6)=>([],1)
([(0,5),(1,5),(2,3),(3,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,3),(3,4),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,5),(3,5),(4,2),(4,3)],6)=>([],1)
([(0,4),(1,5),(2,5),(3,5),(4,1),(4,2),(4,3)],6)=>([],1)
([(0,5),(1,5),(2,4),(3,4)],6)=>([],1)
([(0,5),(1,5),(2,4),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,4),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,4),(2,4),(3,5),(4,3)],6)=>([],1)
([(0,4),(1,4),(2,5),(3,5),(4,2),(4,3)],6)=>([(0,1)],2)
([(0,5),(1,5),(2,4),(3,4),(4,5)],6)=>([],1)
([(2,5),(3,4)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,5),(3,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(1,5),(2,3),(2,5),(3,4)],6)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(1,5),(4,2),(4,3)],6)=>([(0,1)],2)
([(0,4),(1,2),(1,4),(2,3),(2,5),(4,5)],6)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,5),(1,2),(1,5),(2,3),(2,4),(5,3),(5,4)],6)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(2,3),(2,4),(3,5),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,4),(2,5),(4,5),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(1,5),(4,2),(5,3)],6)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,4),(1,2),(1,4),(2,5),(4,3),(4,5)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(2,4),(2,5),(3,4),(3,5)],6)=>([(0,1)],2)
([(1,4),(1,5),(2,4),(2,5),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(5,2),(5,3)],6)=>([],1)
([(1,3),(1,4),(2,3),(2,4),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,4),(1,5),(4,3),(5,2)],6)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,5),(1,4),(1,5),(4,3),(5,2),(5,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,4),(1,5),(4,2),(4,3),(5,2),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,3)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(1,4),(1,5),(2,3),(5,2)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,4),(1,5),(3,2),(4,3),(5,3)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,4),(1,5),(2,3),(4,2),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(2,3),(2,4),(4,5)],6)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(2,3),(2,4),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,5),(3,4)],6)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,4),(3,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,4),(1,5),(2,3),(3,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,4),(1,5),(2,3),(3,4),(3,5)],6)=>([(0,1)],2)
([(1,5),(2,3),(2,5),(5,4)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,2),(1,5),(5,3),(5,4)],6)=>([],1)
([(1,5),(2,3),(2,4)],6)=>([(0,1)],2)
([(1,5),(2,3),(2,4),(2,5)],6)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(1,5),(4,2)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(1,4),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,4),(2,5),(3,5)],6)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,4),(2,5),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,5),(5,4)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,4)],6)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(1,5)],6)=>([(0,1)],2)
([(0,2),(0,3),(0,5),(4,1),(5,4)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,4),(4,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(3,5),(4,1)],6)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(3,5),(4,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(2,5),(3,5),(4,1)],6)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,4),(1,2),(1,3),(1,5),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,3),(1,2),(1,4),(1,5),(3,4),(3,5)],6)=>([],1)
([(0,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([],1)
([(1,3),(1,5),(4,2),(5,4)],6)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(4,5),(5,1),(5,2)],6)=>([],1)
([(0,4),(0,5),(3,2),(4,3),(5,1)],6)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,2),(0,4),(2,5),(3,1),(4,3),(4,5)],6)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(2,5),(3,2),(4,1),(4,5)],6)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,3),(1,4),(2,4),(2,5),(3,1),(3,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(2,3),(2,4),(4,5)],6)=>([],1)
([(0,5),(1,2),(1,3),(3,5),(5,4)],6)=>([],1)
([(1,3),(1,4),(2,5),(3,5),(4,2)],6)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(3,5),(4,1),(5,2)],6)=>([(0,1)],2)
([(1,5),(2,3),(2,4),(3,5),(4,5)],6)=>([],1)
([(0,5),(1,2),(1,3),(2,5),(3,5),(5,4)],6)=>([],1)
([(0,5),(1,3),(1,4),(3,5),(4,2)],6)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,5),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,4),(1,2),(1,3),(2,5),(3,4),(4,5)],6)=>([],1)
([(0,3),(0,4),(2,5),(3,5),(4,1),(4,2)],6)=>([],1)
([(0,5),(1,3),(1,4),(3,5),(4,2),(4,5)],6)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(5,2)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(4,2),(5,1),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(4,2),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,2),(0,4),(1,5),(2,5),(3,1),(4,3)],6)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(2,5),(3,5)],6)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,5),(3,5),(4,5)],6)=>([(0,1)],2)
([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)=>([],1)
([(0,4),(1,2),(1,3),(2,5),(3,5),(5,4)],6)=>([],1)
([(1,4),(1,5),(2,3),(2,5)],6)=>([],1)
([(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([],1)
([(0,4),(0,5),(1,3),(1,4),(1,5),(5,2)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,4),(1,5),(4,3),(5,3)],6)=>([],1)
([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(5,2)],6)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(4,2),(5,2)],6)=>([],1)
([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,3)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(5,3)],6)=>([],1)
([(0,3),(0,4),(1,2),(1,3),(1,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,4),(0,5),(1,3),(1,5),(5,2)],6)=>([(0,1)],2)
([(1,4),(1,5),(2,3),(2,4),(3,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,2),(1,4),(2,5),(4,3)],6)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,4),(0,5),(1,2),(1,4),(2,5),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,5),(1,4),(1,5),(2,4),(4,3),(5,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,5),(1,4),(1,5),(4,2)],6)=>([(0,1)],2)
([(0,2),(0,4),(1,3),(1,4),(3,5),(4,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(2,3),(2,5)],6)=>([],1)
([(0,2),(0,5),(1,4),(1,5),(2,3),(2,4),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(0,4),(1,2),(1,4),(2,5),(3,5)],6)=>([],1)
([(0,3),(0,4),(1,2),(1,4),(2,5),(3,5),(4,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(2,3),(3,5)],6)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(0,5),(1,2),(1,3)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,2),(1,3),(1,4),(2,5),(3,5)],6)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5)],6)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5)],6)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5)],6)=>([],1)
([(0,2),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3)],6)=>([(0,1)],2)
([(0,3),(0,4),(1,2),(1,4),(1,5),(3,5)],6)=>([(0,1)],2)
([(0,2),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,2),(1,3),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,2),(0,3),(1,4),(1,5),(2,4),(2,5),(3,1)],6)=>([(0,2),(2,1)],3)
([(0,2),(0,4),(2,5),(3,1),(3,5),(4,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,2),(1,3),(2,5),(3,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,3),(2,5),(3,4)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5)],6)=>([],1)
([(0,3),(0,5),(1,2),(1,4),(2,5),(3,4)],6)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(1,4),(2,3),(2,5),(4,5)],6)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,3),(1,5),(4,5),(5,2)],6)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(1,4),(1,5),(2,3),(3,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,3),(3,4),(3,5),(5,2)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(1,4),(1,5),(2,4),(2,5),(4,3),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(1,5),(3,5),(4,2)],6)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,3),(1,2),(1,4),(2,5),(3,4),(4,5)],6)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(1,2),(1,4),(2,5),(3,4),(3,5)],6)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,5),(1,3),(1,4),(5,2)],6)=>([(0,2),(2,1)],3)
([(0,2),(0,5),(3,4),(4,1),(5,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(4,2),(4,3),(5,1),(5,4)],6)=>([],1)
([(0,4),(1,3),(1,5),(4,2),(4,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(2,3),(2,4),(2,5)],6)=>([],1)
([(0,4),(0,5),(1,2),(2,3),(2,5),(3,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(2,5),(3,4),(4,5)],6)=>([(0,1)],2)
([(1,5),(2,3),(3,5),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,2),(2,5),(5,3),(5,4)],6)=>([(0,2),(2,1)],3)
([(1,3),(2,4),(4,5)],6)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,5),(4,3),(5,2),(5,4)],6)=>([(0,1)],2)
([(1,5),(2,3),(3,4),(3,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(4,2),(4,5),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(1,5),(5,2),(5,3)],6)=>([(0,1)],2)
([(0,5),(4,3),(5,1),(5,2),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,4),(4,2),(4,3),(4,5)],6)=>([(0,1)],2)
([(1,5),(3,4),(4,2),(5,3)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(3,5),(4,3),(5,1),(5,2)],6)=>([],1)
([(1,4),(2,3),(3,5),(4,5)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,3),(3,5),(4,5),(5,2)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(4,2),(5,3)],6)=>([(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,5),(3,4),(4,2),(5,1),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(3,5),(4,2),(4,5)],6)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,3),(1,2),(2,4),(2,5),(3,4),(3,5)],6)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,5),(2,3),(3,4),(4,5)],6)=>([(0,2),(2,1)],3)
([(1,4),(2,5),(3,5),(4,2),(4,3)],6)=>([],1)
([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)=>([],1)
([(0,5),(1,4),(2,5),(4,2),(5,3)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,3)],6)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,5),(1,3),(2,4),(2,5)],6)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(1,4),(2,3),(2,4),(2,5)],6)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(1,5),(3,2),(4,3)],6)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,4),(1,2),(1,4),(2,3),(3,5),(4,5)],6)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(2,3),(2,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,4),(2,5),(3,5),(4,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(2,3),(2,4),(3,5),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,5),(4,2),(5,4)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,4),(2,3),(2,4),(4,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(1,5),(2,3),(2,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(2,3),(2,4),(4,5)],6)=>([],1)
([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,5),(2,3),(2,4),(3,5)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(1,5),(2,3),(2,5)],6)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(1,4),(1,5),(2,3),(2,5),(3,4)],6)=>([(0,1)],2)
([(0,4),(1,4),(1,5),(2,3),(3,5)],6)=>([(0,1)],2)
([(0,5),(1,4),(1,5),(2,3),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(2,5),(4,2)],6)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,4),(0,5),(1,2),(2,3),(3,4),(3,5)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,4),(1,5),(2,4),(2,5),(3,1),(3,2)],6)=>([(0,1)],2)
([(0,4),(2,5),(3,1),(3,5),(4,2),(4,3)],6)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,3),(2,5),(4,5)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,3),(4,2),(5,4)],6)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(3,2),(4,1),(5,3),(5,4)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(3,2),(4,3),(4,5)],6)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,5),(1,2),(2,3),(2,5),(3,4),(5,4)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(3,2),(4,5),(5,1),(5,3)],6)=>([(0,1)],2)
([(0,5),(1,3),(3,4),(4,2),(4,5)],6)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(2,4),(3,2),(4,1),(5,3)],6)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(1,3),(2,4),(4,5)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(2,3),(3,4),(3,5)],6)=>([(0,1)],2)
([(0,5),(1,3),(3,5),(4,2),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,4),(2,3),(3,5),(5,4)],6)=>([(0,1)],2)
([(0,5),(1,4),(2,5),(3,2),(4,3)],6)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)=>([],1)
([(0,3),(1,4),(2,5),(3,5),(4,2)],6)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(1,5),(2,5),(3,2),(4,1),(4,3)],6)=>([(0,1)],2)
([(0,5),(1,4),(2,3),(3,5),(4,5)],6)=>([(0,1),(0,2),(1,3),(2,3)],4)
([],7)=>([],1)
([(5,6)],7)=>([(0,1)],2)
([(4,5),(4,6)],7)=>([],1)
([(3,4),(3,5),(3,6)],7)=>([],1)
([(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(0,6),(6,1)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(0,5),(4,6),(5,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,3),(1,4),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(0,6),(6,1),(6,2)],7)=>([],1)
([(1,2),(1,3),(1,4),(1,5),(4,6),(5,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(2,6),(3,6),(4,6),(5,6),(6,1)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(2,6),(3,6),(4,6),(5,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(2,6),(3,6),(4,6),(5,1),(5,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(3,6),(4,6),(5,6),(6,1)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(3,6),(4,6),(5,1)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(3,6),(4,6),(5,1),(5,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(4,5)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,5),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(4,6),(5,6),(6,1)],7)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(5,2),(6,1)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(0,5),(4,6),(5,1),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(0,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(2,4),(2,5),(2,6),(6,3)],7)=>([(0,1)],2)
([(1,4),(1,5),(1,6),(6,2),(6,3)],7)=>([],1)
([(0,4),(0,5),(0,6),(6,1),(6,2),(6,3)],7)=>([],1)
([(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,3),(0,4),(0,5),(3,6),(4,6),(5,6),(6,1),(6,2)],7)=>([],1)
([(1,3),(1,4),(1,5),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6),(6,1)],7)=>([],1)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,6),(3,5),(3,6),(4,5),(4,6),(5,1)],7)=>([],1)
([(0,1),(0,2),(0,3),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,6),(3,5),(3,6),(4,5),(4,6),(6,1)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,6),(3,5),(4,5),(4,6),(6,1)],7)=>([],1)
([(0,1),(0,2),(0,3),(1,5),(2,4),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(1,3),(1,4),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(3,6),(4,6),(5,1),(5,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(3,6),(4,6),(5,1),(5,2)],7)=>([],1)
([(0,3),(0,4),(0,5),(3,6),(4,6),(5,1),(5,2),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(3,5),(4,1),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,4),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(2,6),(3,5),(4,5),(5,6),(6,1)],7)=>([],1)
([(0,3),(0,4),(0,5),(3,6),(4,6),(5,1),(6,2)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,6),(3,6),(4,5),(6,1),(6,5)],7)=>([],1)
([(1,2),(1,3),(1,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,3),(0,4),(0,5),(4,6),(5,6),(6,1),(6,2)],7)=>([(0,1)],2)
([(1,4),(1,5),(1,6),(5,3),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,3),(1,4),(1,5),(4,6),(5,2),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,2),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,1)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,1),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,1),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,1),(0,2),(0,3),(1,6),(2,4),(2,5),(3,4),(3,5),(5,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,6),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(3,5),(3,6),(4,5),(4,6),(6,1)],7)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(4,6),(5,1),(5,6),(6,2)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(0,6),(5,3),(6,1),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(4,6),(5,1),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(4,2),(4,6),(5,1),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(3,5),(3,6),(4,1),(4,5),(4,6)],7)=>([],1)
([(0,1),(0,2),(0,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(4,3),(5,2),(6,1)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,3),(0,4),(0,5),(3,6),(4,2),(5,1),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,2),(0,3),(0,4),(2,6),(3,5),(4,1),(4,5),(4,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,2),(0,3),(0,4),(2,5),(3,5),(3,6),(4,1),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(0,3),(1,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,6),(3,5),(3,6),(4,1),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(0,3),(1,5),(2,4),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(3,6),(4,2),(4,6),(5,1),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,3),(0,4),(2,6),(3,5),(4,1),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(3,4),(3,5),(5,6)],7)=>([(0,1)],2)
([(2,5),(2,6),(6,3),(6,4)],7)=>([],1)
([(1,5),(1,6),(6,2),(6,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(6,1),(6,2),(6,3),(6,4)],7)=>([],1)
([(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(1,2),(1,3),(2,6),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,4),(0,5),(4,6),(5,6),(6,1),(6,2),(6,3)],7)=>([],1)
([(2,5),(2,6),(5,4),(6,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(1,3),(1,4),(3,5),(3,6),(4,5),(4,6),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(3,5),(3,6),(4,5),(4,6),(6,1),(6,2)],7)=>([],1)
([(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,2),(0,3),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6),(6,1)],7)=>([(0,1)],2)
([(0,3),(0,4),(3,5),(3,6),(4,5),(4,6),(5,2),(6,1)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,2),(0,3),(2,4),(2,6),(3,4),(3,6),(4,5),(6,1),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(1,5),(1,6),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(1,3),(1,5),(3,6),(5,2),(5,6),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(4,6),(5,1),(5,6),(6,2),(6,3)],7)=>([],1)
([(1,5),(1,6),(5,4),(6,2),(6,3)],7)=>([(0,1)],2)
([(1,4),(1,5),(4,6),(5,2),(5,3),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(4,6),(5,1),(5,2),(5,6),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(5,4),(6,1),(6,2),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(4,6),(5,1),(5,2),(5,3),(5,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(4,3),(4,6),(5,2),(5,6)],7)=>([],1)
([(1,3),(1,4),(3,5),(3,6),(4,2),(4,5),(4,6)],7)=>([],1)
([(1,2),(1,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,2),(0,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(6,1)],7)=>([(0,1)],2)
([(0,1),(0,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([],1)
([(0,1),(0,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(3,5),(3,6),(4,2),(4,5),(4,6),(6,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(2,4),(2,5),(3,1),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(4,2),(4,6),(5,1),(5,6),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(5,3),(5,4),(6,1),(6,2)],7)=>([],1)
([(0,4),(0,5),(4,3),(4,6),(5,1),(5,2),(5,6)],7)=>([],1)
([(0,3),(0,4),(3,5),(3,6),(4,1),(4,2),(4,5),(4,6)],7)=>([],1)
([(0,3),(0,4),(3,2),(3,5),(3,6),(4,1),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(2,4),(2,5),(2,6),(3,1),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,1),(0,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(2,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,3),(1,5),(2,6),(3,6),(5,2),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,6),(4,6),(5,1),(6,2),(6,3)],7)=>([(0,2),(2,1)],3)
([(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(3,4),(4,5),(4,6)],7)=>([],1)
([(2,6),(6,3),(6,4),(6,5)],7)=>([],1)
([(1,6),(6,2),(6,3),(6,4),(6,5)],7)=>([],1)
([(0,6),(6,1),(6,2),(6,3),(6,4),(6,5)],7)=>([],1)
([(3,4),(4,6),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(2,5),(5,6),(6,3),(6,4)],7)=>([],1)
([(1,5),(5,6),(6,2),(6,3),(6,4)],7)=>([],1)
([(0,5),(5,6),(6,1),(6,2),(6,3),(6,4)],7)=>([],1)
([(4,6),(5,6)],7)=>([],1)
([(3,6),(4,6),(6,5)],7)=>([],1)
([(2,6),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,6),(6,3),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(6,2),(6,3),(6,4),(6,5)],7)=>([],1)
([(3,6),(4,6),(5,6)],7)=>([],1)
([(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(1,6),(2,6),(3,6),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(6,3),(6,4),(6,5)],7)=>([(0,1)],2)
([(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,6),(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(6,4),(6,5)],7)=>([],1)
([(1,6),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,6),(4,5),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,6),(4,5),(5,6)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,6),(4,5)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,6),(4,5),(6,4)],7)=>([],1)
([(1,6),(2,6),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(4,5),(6,3),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(6,4),(6,5)],7)=>([],1)
([(1,6),(2,6),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(3,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,6),(3,4),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(3,5),(6,3)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(3,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(1,6),(2,6),(3,6),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,6),(3,5),(5,4),(6,3)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(5,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,6),(2,6),(3,5),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(2,6),(3,6),(4,5),(5,2),(5,3)],7)=>([],1)
([(0,4),(1,6),(2,6),(3,6),(4,5),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,4),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,6),(3,5),(4,5)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(4,5),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(4,5),(6,3),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(4,6),(5,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,6),(4,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,5),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(2,6),(3,6),(4,5)],7)=>([(0,1)],2)
([(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(1,6),(2,5),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(1,5),(2,4),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,5),(1,4),(2,4),(2,5),(4,6),(5,6),(6,3)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(5,3),(6,4)],7)=>([],1)
([(0,6),(1,4),(2,4),(2,6),(4,5),(6,3),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4)],7)=>([],1)
([(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,6),(2,5),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(5,3),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(1,6),(2,5),(2,6),(5,3),(5,4),(6,4)],7)=>([],1)
([(0,6),(1,3),(1,6),(2,3),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([],1)
([(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(5,4),(6,3)],7)=>([],1)
([(0,6),(1,4),(1,6),(2,4),(2,6),(4,5),(6,3),(6,5)],7)=>([],1)
([(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(6,3),(6,4)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(5,4),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(5,4),(6,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(4,3),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(5,4),(6,3)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,6),(5,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(1,6),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(5,3)],7)=>([],1)
([(0,6),(1,4),(1,6),(2,4),(2,6),(4,5),(5,3),(6,5)],7)=>([],1)
([(0,6),(1,4),(1,6),(2,4),(2,6),(3,5),(4,3),(6,5)],7)=>([],1)
([(0,5),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,6),(1,4),(1,6),(2,4),(2,6),(3,5),(4,5),(6,3)],7)=>([],1)
([(0,6),(1,5),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(6,3)],7)=>([],1)
([(0,6),(1,5),(2,4),(2,6),(3,4),(3,6),(6,5)],7)=>([],1)
([(0,5),(1,5),(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(6,4)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(2,6),(3,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,4),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,4),(6,3)],7)=>([],1)
([(0,6),(1,4),(2,5),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,5),(1,4),(2,4),(2,5),(3,6),(4,6),(5,3)],7)=>([],1)
([(0,6),(1,5),(2,4),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,5),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(2,6),(3,6),(4,5),(6,4)],7)=>([],1)
([(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(1,6),(2,5),(3,5),(5,6),(6,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(5,6),(6,3),(6,4)],7)=>([],1)
([(1,6),(2,6),(3,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,6),(4,5),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,6),(3,5),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,5),(5,3),(5,6),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,3),(6,4),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(5,2),(6,3),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(6,3),(6,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(2,6),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,4),(3,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(6,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,6),(3,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,6),(3,4),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(3,5),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,4),(2,6),(4,5),(6,3),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,6),(3,4),(3,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,3),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(3,5),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,6),(2,3),(2,6),(3,5),(5,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(3,4),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,6),(3,4),(3,5)],7)=>([],1)
([(1,6),(2,6),(3,4),(3,5),(6,3)],7)=>([(0,1)],2)
([(1,5),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,1)],2)
([(1,4),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(2,4),(4,5),(4,6),(6,3)],7)=>([],1)
([(0,5),(1,5),(2,4),(2,6),(5,6),(6,3)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(5,2),(5,3),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,4),(2,5),(6,3),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,4),(2,5),(6,3),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(2,6),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(2,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(2,6),(3,5),(4,5)],7)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(2,5)],7)=>([],1)
([(0,6),(1,6),(5,2),(5,3),(5,4),(6,5)],7)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(2,6),(5,6)],7)=>([],1)
([(0,4),(1,4),(2,3),(2,5),(2,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,3),(2,4),(2,5),(6,3),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,5),(4,6),(5,4)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(2,6),(5,1),(5,2)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,6),(2,6),(4,2),(5,1)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(2,4),(2,5),(5,6)],7)=>([],1)
([(0,6),(1,2),(1,4),(1,5),(3,6),(4,6),(5,3)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(2,6),(4,6),(5,1),(5,2)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,6),(2,6),(3,6),(4,2),(5,1)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(2,6),(3,6),(4,6),(5,1),(5,2)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,6),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(4,6),(6,5)],7)=>([],1)
([(1,6),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(4,3),(5,2),(5,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,3),(2,6),(3,4),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(2,3),(2,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,4),(2,3),(2,5),(3,6),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,4),(2,5),(4,3),(5,3),(6,4),(6,5)],7)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,3),(1,5),(4,6),(5,2),(5,4)],7)=>([],1)
([(0,4),(0,5),(2,6),(3,6),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(3,6),(4,2),(5,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(1,4),(2,6),(3,5),(4,2),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(3,6),(4,3),(5,2),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(2,6),(3,6),(4,1),(4,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,6),(2,6),(3,5),(3,6),(4,1),(4,2),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(2,6),(3,5),(3,6),(4,2),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(2,6),(3,6),(4,3),(5,1),(5,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(2,5),(3,2),(3,6),(4,1),(4,6)],7)=>([],1)
([(0,3),(0,4),(1,6),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6)],7)=>([],1)
([(0,4),(0,5),(2,6),(3,6),(4,1),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(2,5),(3,6),(4,1),(4,2),(5,6)],7)=>([],1)
([(0,3),(0,4),(1,5),(2,5),(3,6),(4,1),(4,2),(4,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,6),(2,6),(3,5),(4,1),(4,2),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(2,6),(3,5),(4,2),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,4),(2,6),(3,5),(4,2),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,5),(2,5),(3,6),(4,2),(4,6),(6,1)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,6),(2,3),(2,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,4),(1,5),(3,6),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,4),(0,5),(2,6),(3,6),(4,6),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(3,6),(4,6),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,5),(1,5),(2,3),(2,4),(3,6),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(4,2),(4,3),(6,4)],7)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(2,4),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(1,2),(1,3),(2,6),(3,6),(4,5),(6,4)],7)=>([],1)
([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,4),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,5),(3,6),(4,6),(5,3),(5,4)],7)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(3,6),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,6),(3,6),(4,3),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(1,6),(2,6),(3,6),(4,3),(5,1),(5,2)],7)=>([(0,1)],2)
([(2,6),(3,6),(4,5),(5,6)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,4),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,4),(4,5)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,6),(3,5),(5,4),(6,3)],7)=>([],1)
([(1,5),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(3,6),(5,6),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(3,5),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(4,2),(5,4),(6,3),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,5),(2,3),(3,6),(5,4),(5,6)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,3),(3,5),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,6),(2,6),(3,5),(3,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,6),(2,3),(3,4),(3,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,6),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,6),(1,6),(4,5),(5,2),(5,3),(6,4)],7)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(3,4),(3,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(2,3),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,5),(3,6),(4,6),(5,1),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,3),(1,6),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,3),(1,6),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,6),(1,5),(3,6),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,5),(2,6),(3,6),(4,6),(5,1),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,3),(1,6),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,5),(1,6),(2,6),(3,6),(4,6),(5,1),(5,2),(5,3),(5,4)],7)=>([],1)
([(1,3),(2,6),(3,5),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(2,6),(4,2),(5,4),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(2,6),(3,6),(4,5),(5,2),(5,3)],7)=>([],1)
([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)=>([],1)
([(1,6),(2,6),(3,4),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,3),(3,5),(5,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,6),(2,6),(3,5),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,6),(3,4),(4,2),(5,3),(6,5)],7)=>([],1)
([(0,5),(1,5),(2,3),(3,4),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(3,6),(4,5),(5,2),(5,3)],7)=>([],1)
([(0,4),(2,6),(3,6),(4,5),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,3),(1,6),(2,6),(3,5),(5,4),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,6),(3,5),(4,5)],7)=>([],1)
([(1,6),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,6),(1,6),(2,4),(3,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(1,6),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,6),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(1,6),(2,5),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(3,6),(6,4)],7)=>([],1)
([(1,6),(2,5),(3,5),(4,6),(5,4)],7)=>([],1)
([(1,5),(2,5),(3,6),(4,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(4,6),(5,4),(6,3)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(5,4),(6,2),(6,3)],7)=>([(0,1)],2)
([(1,6),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(5,6),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(6,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(4,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(3,5),(4,5),(6,2),(6,3),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,5),(5,4),(5,6)],7)=>([],1)
([(0,5),(1,5),(2,4),(3,4),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(4,5),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(4,3),(5,2),(6,4),(6,5)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,6),(2,5),(3,4),(6,3),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,4),(5,6)],7)=>([(0,1)],2)
([(0,4),(1,4),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,4),(5,6),(6,3)],7)=>([],1)
([(0,4),(1,4),(2,5),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,4),(3,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(2,6),(4,5),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(3,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,6),(3,5),(4,5),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,5),(2,6),(3,4),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(2,6),(3,4),(3,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,4),(2,6),(3,4),(3,5),(6,5)],7)=>([],1)
([(0,6),(1,6),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,5),(2,6),(3,4),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,5),(2,6),(3,4),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,4),(2,6),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(1,4),(1,5),(2,4),(2,6),(3,6),(5,3)],7)=>([],1)
([(0,6),(1,5),(2,4),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,4),(3,6),(5,3)],7)=>([],1)
([(0,4),(1,5),(2,5),(3,4),(3,6),(5,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(3,4),(4,5),(4,6)],7)=>([],1)
([(0,5),(1,5),(2,3),(2,6),(4,6),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(3,5),(4,2),(4,5),(6,3),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,5),(2,4),(2,6),(3,6),(5,3),(5,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,5),(3,4),(3,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,5),(3,6),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,2),(1,5),(2,6),(3,6),(4,6),(5,3),(5,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,5),(1,4),(1,6),(2,4),(2,6),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(3,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,5),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(2,5),(3,4),(3,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,6),(3,5),(4,3)],7)=>([],1)
([(0,4),(1,4),(2,5),(2,6),(3,5),(3,6),(4,3)],7)=>([],1)
([(0,6),(1,6),(2,4),(2,5),(3,4),(3,5),(6,2),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,4),(2,6),(3,4),(3,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,6),(2,4),(2,5),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,4),(2,5),(3,6),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(6,2),(6,3)],7)=>([],1)
([(0,3),(1,5),(1,6),(2,5),(2,6),(4,3),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(5,3),(6,2)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(1,5),(1,6),(2,3),(4,3),(5,4),(6,2),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(3,2),(4,2),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,4),(2,5),(3,4),(3,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,4),(2,5),(3,6),(4,6),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,6),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(2,5),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,2),(1,6),(3,5),(4,5),(6,3),(6,4)],7)=>([],1)
([(0,6),(1,6),(2,5),(3,4),(3,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,4),(3,5),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(3,6),(4,5),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,5),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(4,5),(6,3)],7)=>([],1)
([(0,5),(1,5),(2,3),(3,6),(4,6),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,5),(4,3),(6,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(2,4),(3,6),(4,6),(5,3),(5,4)],7)=>([],1)
([(0,6),(1,5),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(3,6),(4,5),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,2),(2,6),(3,5),(4,5),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(2,5),(3,4),(4,5),(5,6)],7)=>([(0,1)],2)
([(3,6),(4,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(2,6),(3,4),(3,6),(4,5)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(5,2),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(4,2),(4,3),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,6),(3,2),(3,4),(3,5),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,2),(1,6),(2,3),(2,4),(2,5),(6,3),(6,4),(6,5)],7)=>([],1)
([(1,5),(2,3),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,4),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,5),(4,3),(4,6),(5,6),(6,2)],7)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,6),(1,5),(1,6),(5,2),(5,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,6),(4,3),(4,5),(6,2),(6,5)],7)=>([],1)
([(0,6),(1,3),(1,6),(3,4),(3,5),(6,2),(6,4),(6,5)],7)=>([],1)
([(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(2,3),(2,5),(3,6),(5,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(1,5),(4,6),(5,6),(6,2),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,3),(2,6),(3,5),(6,4)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(1,5),(2,3),(2,5),(3,6),(5,4),(5,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(1,6),(5,2),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(4,5),(6,2),(6,3),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,6),(3,5),(5,4)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(1,5),(2,3),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(1,5),(3,6),(4,3),(5,6),(6,2)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,5),(1,6),(4,2),(5,4),(6,3)],7)=>([(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,3),(1,6),(3,5),(5,4),(6,2),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,4),(1,6),(3,5),(4,3),(6,2),(6,5)],7)=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)
([(0,6),(1,4),(1,6),(4,5),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,6),(3,4),(4,2),(4,5),(6,5)],7)=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)
([(0,6),(1,2),(1,6),(2,3),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,5),(2,6),(6,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(6,2),(6,3),(6,4)],7)=>([],1)
([(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,4),(2,5),(4,6),(5,6),(6,3)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,5),(2,6),(5,4),(6,3)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,4),(1,6),(2,4),(2,6),(4,5),(6,3),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(1,6),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(5,4),(6,2),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(5,4),(6,2),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(5,3),(5,4),(6,2),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(5,3),(5,4),(6,2),(6,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(5,2),(5,3),(5,4),(6,2),(6,3),(6,4)],7)=>([],1)
([(1,5),(1,6),(2,5),(2,6),(3,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,6),(2,4),(2,5),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,3),(1,4),(1,6),(2,3),(2,4),(2,6),(3,5),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,4),(1,6),(2,3),(2,4),(2,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(1,6),(2,5),(2,6),(3,4),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(4,3),(5,4),(6,2)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,5),(0,6),(1,5),(1,6),(2,3),(5,4),(6,2),(6,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,5),(0,6),(1,5),(1,6),(4,2),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(2,4),(5,2),(5,3),(6,3),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,5),(1,6),(4,3),(5,4),(6,2),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,5),(1,6),(3,4),(5,3),(6,2),(6,4)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,6),(2,4),(2,5),(3,4),(3,5),(5,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,4),(2,5),(3,6),(4,6),(5,3)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,4),(2,5),(4,6),(5,6),(6,3)],7)=>([(0,1)],2)
([(0,5),(1,4),(1,6),(2,4),(2,6),(4,5),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(2,4),(2,5),(4,6),(5,3),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(2,4),(2,5),(5,6),(6,3)],7)=>([(0,1)],2)
([(0,4),(1,5),(1,6),(2,5),(2,6),(4,3),(5,4),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,4),(6,3)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(1,5),(1,6),(4,3),(6,2),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(3,4),(5,2),(5,3),(6,4)],7)=>([],1)
([(0,5),(1,4),(1,6),(2,4),(2,6),(6,3),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,4),(1,5),(2,3),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,5),(1,6),(2,5),(2,6),(5,3),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,6),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(1,6),(2,4),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,6),(4,5),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,6),(4,5),(5,3)],7)=>([],1)
([(0,3),(0,6),(1,3),(1,6),(2,5),(2,6),(3,5),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,4),(1,6),(2,3),(2,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,3),(1,6),(2,4),(2,6),(3,4),(3,5),(6,5)],7)=>([],1)
([(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(5,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,6),(3,4)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,6),(1,4),(1,6),(2,3),(2,6),(3,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,4),(1,6),(2,3),(2,6),(3,5),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,4),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,4),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(4,2),(4,3),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(4,2),(4,3),(5,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(3,2),(3,4),(5,3),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(5,2),(6,3),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,6),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(6,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,4),(1,5),(2,3),(2,6),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(5,4),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(2,6)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,4),(1,6),(2,3),(2,5),(2,6),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,3),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,4),(3,5),(3,6),(4,3)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(4,1),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(3,2),(4,1)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(4,6)],7)=>([],1)
([(0,4),(0,6),(1,4),(1,6),(2,3),(2,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,4),(2,6),(3,5),(3,6),(4,3)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(3,6),(4,1),(4,2)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(3,6),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,5),(1,6),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,4),(1,6),(2,3),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,4),(4,5),(4,6),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(1,5),(1,6),(3,4),(4,2),(6,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,5),(1,6),(2,3),(4,2),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(3,4),(4,2),(5,3),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(5,2),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,4),(1,5),(2,3),(3,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(1,4),(1,5),(2,3),(3,6),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,4),(3,5),(3,6),(4,2),(4,3)],7)=>([(0,1)],2)
([(0,4),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2),(4,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,4),(1,6),(2,3),(3,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(2,6),(3,5),(3,6),(4,2),(4,3)],7)=>([],1)
([(0,4),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2),(4,3)],7)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2),(4,3)],7)=>([],1)
([(0,4),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2),(4,3)],7)=>([],1)
([(2,6),(3,4),(3,6),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,3),(2,6),(6,4),(6,5)],7)=>([],1)
([(0,6),(1,2),(1,6),(6,3),(6,4),(6,5)],7)=>([],1)
([(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(1,5),(1,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(4,2),(4,5),(6,5)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,2),(1,3),(1,6),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(1,5),(4,6),(5,6),(6,2)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,5),(1,6),(5,2),(6,4)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,3),(1,4),(1,6),(4,5),(6,2),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(5,6),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(3,5),(4,5),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(5,4),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(1,5),(3,6),(4,6),(6,2)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,6),(2,5),(3,5),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(1,6),(4,3),(5,2)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,6),(1,3),(1,4),(1,6),(3,5),(4,2),(4,5)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,2),(1,3),(1,6),(2,5),(3,4),(3,5),(6,4)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(1,5),(3,6),(4,2),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,2),(1,3),(1,6),(2,4),(2,5),(3,4),(3,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(3,5),(4,2),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,2),(1,3),(1,6),(2,5),(3,4),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(2,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,6),(6,4),(6,5)],7)=>([],1)
([(1,6),(2,3),(2,4),(2,5)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(1,6),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,2),(1,3),(1,4),(1,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,6),(3,5),(4,5)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,4),(1,5)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,6),(5,1),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,4),(1,5),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,6),(4,6),(5,1)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,5),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,6),(3,6),(4,6),(5,1)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,6),(2,6),(3,6),(4,6),(5,1)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(1,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(1,5),(1,6),(4,5),(4,6)],7)=>([],1)
([(0,3),(1,2),(1,4),(1,5),(1,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(1,3),(1,4),(1,6),(5,2),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(0,5),(5,6),(6,1),(6,2)],7)=>([],1)
([(1,6),(2,3),(2,4),(2,5),(5,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(4,6),(6,5)],7)=>([],1)
([(1,2),(1,4),(1,5),(3,6),(4,6),(5,3)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(4,6),(5,1),(6,2)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(3,6),(4,6),(5,1),(6,2)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,3),(0,4),(0,5),(2,6),(3,6),(4,6),(5,1),(5,2)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(3,6),(4,5),(6,5)],7)=>([],1)
([(0,3),(0,4),(0,5),(2,6),(4,6),(5,1),(5,2)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(2,6),(3,6),(4,1),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(1,5),(2,6),(3,5),(4,1),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(2,6),(3,6),(4,2),(5,1),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(3,6),(4,1),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(1,5),(2,5),(3,6),(4,1),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(4,1),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(4,5)],7)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,5),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5),(5,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(2,6),(3,6),(4,5),(6,1)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(5,6)],7)=>([],1)
([(0,5),(1,3),(1,4),(1,6),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(0,6),(5,2),(6,1),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(5,2),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,4),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,6),(3,5),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,5),(1,6),(3,6),(4,1),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(0,6),(4,1),(5,2),(6,4)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,4),(0,5),(2,6),(4,2),(5,1),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,3),(0,4),(1,5),(3,5),(3,6),(4,1),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,5),(3,6),(4,1),(5,4),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,2),(0,3),(0,4),(1,6),(3,5),(4,1),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,4),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(1,4),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,5),(2,5),(2,6),(3,5),(3,6),(4,1),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,6),(2,5),(3,5),(3,6),(4,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,5),(2,6),(3,5),(3,6),(4,1),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(1,6),(2,5),(3,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(1,5),(2,6),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(1,5),(2,6),(3,6),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,4),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,5),(1,6),(2,6),(3,6),(4,1),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,5),(2,6),(3,6),(4,1),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,5),(2,6),(3,6),(4,1),(5,4),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(1,5),(2,6),(3,6),(4,1),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,6),(2,5),(3,5),(4,1),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(2,6),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,6),(3,6),(4,6),(5,1),(6,5)],7)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(2,6),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,2),(0,3),(0,4),(3,6),(4,6),(5,1),(6,5)],7)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(3,5),(4,5),(5,6)],7)=>([],1)
([(1,5),(2,3),(2,4),(2,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,3),(1,6),(5,6),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(2,3),(2,5),(2,6),(4,5),(4,6)],7)=>([],1)
([(0,4),(1,3),(1,5),(1,6),(4,5),(4,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(1,2),(1,5),(1,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(3,4),(3,5),(3,6),(6,2)],7)=>([(0,1)],2)
([(0,2),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([],1)
([(0,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(3,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(1,2),(1,4),(1,6),(2,5),(3,4),(3,6),(6,5)],7)=>([],1)
([(0,3),(1,2),(1,4),(1,5),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,3),(1,2),(1,4),(1,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(1,6),(4,6),(5,2)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(1,2),(1,3),(1,5),(3,6),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,4),(1,5),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,6),(4,5),(5,1),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,3),(1,4),(1,6),(5,2),(5,6)],7)=>([],1)
([(0,4),(1,3),(1,5),(1,6),(4,2),(4,5),(4,6)],7)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(3,2),(3,4),(3,5),(3,6)],7)=>([],1)
([(2,4),(2,6),(5,3),(6,5)],7)=>([(0,2),(2,1)],3)
([(1,4),(1,5),(5,6),(6,2),(6,3)],7)=>([],1)
([(0,4),(0,5),(5,6),(6,1),(6,2),(6,3)],7)=>([],1)
([(1,5),(1,6),(4,3),(5,4),(6,2)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,3),(1,5),(3,6),(4,2),(5,4),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,3),(0,4),(3,6),(4,5),(4,6),(5,1),(5,2)],7)=>([(0,1)],2)
([(0,2),(0,4),(2,5),(3,1),(3,6),(4,3),(4,5),(5,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,2),(0,3),(1,5),(1,6),(2,4),(3,1),(3,4),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,3),(1,4),(2,6),(3,5),(4,2),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(3,6),(4,1),(5,4),(5,6),(6,2)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,3),(0,4),(2,5),(3,6),(4,2),(4,6),(6,1),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,3),(1,4),(3,6),(4,5),(5,2),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,5),(3,6),(4,1),(4,6),(5,4),(6,2)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(0,5),(4,3),(5,6),(6,1),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(3,6),(4,5),(5,1),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(3,2),(3,6),(4,3),(5,1),(5,6)],7)=>([],1)
([(0,2),(0,4),(2,5),(2,6),(3,1),(3,6),(4,3),(4,5)],7)=>([],1)
([(0,2),(0,3),(1,4),(1,6),(2,4),(2,5),(3,1),(3,5),(5,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(0,4),(2,5),(2,6),(3,2),(4,1),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(2,4),(2,5),(2,6),(3,1),(3,6)],7)=>([],1)
([(1,4),(1,5),(3,6),(4,3),(5,2),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(2,6),(3,5),(3,6),(4,2),(4,5),(6,1)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,3),(1,4),(2,4),(2,5),(3,1),(3,5),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(2,5),(3,5),(3,6),(4,2),(4,6),(6,1)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,4),(0,5),(2,6),(4,2),(5,1),(5,6),(6,3)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,5),(0,6),(4,3),(5,4),(6,1),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(3,6),(4,3),(5,1),(5,2),(5,6)],7)=>([(0,2),(2,1)],3)
([(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(1,6),(2,3),(2,4),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,2),(1,3),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(1,6),(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,2),(1,3),(2,6),(3,6),(6,4),(6,5)],7)=>([],1)
([(1,5),(2,4),(2,6),(6,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,4),(1,6),(5,3),(6,2),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,5),(5,2),(5,6),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,6),(6,2),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,6),(5,3),(6,1),(6,2),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(5,2),(5,3),(5,6)],7)=>([(0,1)],2)
([(1,4),(2,3),(2,6),(3,5),(4,6)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,4),(1,5),(1,6),(4,6),(5,2),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(1,6),(3,6),(4,2),(4,5),(6,5)],7)=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)
([(0,2),(1,3),(1,6),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(1,4),(2,3),(2,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,4),(1,3),(1,6),(3,5),(4,5),(4,6),(6,2)],7)=>([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)
([(0,3),(1,2),(1,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,4),(1,3),(1,5),(3,6),(4,5),(4,6),(6,2)],7)=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)
([(1,4),(2,3),(2,5),(3,6),(4,5),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,3),(1,5),(3,6),(4,5),(5,6),(6,2)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,5),(1,6),(4,6),(5,2),(6,3)],7)=>([(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,3),(1,4),(1,6),(3,6),(4,5),(6,2),(6,5)],7)=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)
([(1,5),(2,3),(2,4),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(1,6),(3,6),(4,1),(5,4),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,3),(1,5),(3,6),(4,6),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(2,6),(3,5),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(2,6),(3,6),(4,2),(5,1),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(2,6),(3,5),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(3,6),(5,6),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(5,3),(6,2)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,6),(4,5),(5,2),(6,1),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,3),(1,5),(4,6),(5,2),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,2),(1,3),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,4),(1,5),(1,6),(2,5),(2,6),(3,1),(4,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(4,3),(5,2),(5,4),(6,1),(6,5)],7)=>([(0,1)],2)
([(0,5),(1,4),(1,6),(4,3),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,3),(1,4),(1,6),(3,5),(3,6),(4,2),(4,5)],7)=>([],1)
([(0,3),(1,2),(1,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,3),(1,2),(1,6),(2,4),(2,5),(3,4),(3,6),(6,5)],7)=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)
([(0,3),(0,6),(1,4),(3,5),(4,2),(4,6),(6,5)],7)=>([],1)
([(0,5),(1,3),(1,4),(4,6),(5,2),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,4),(3,5),(4,2),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,5),(2,6),(3,4),(4,1),(4,6),(5,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,6),(2,3),(2,4),(3,5),(4,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(3,6),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,4),(0,5),(2,6),(4,6),(5,1),(5,2),(6,3)],7)=>([],1)
([(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,5),(3,6),(5,2),(5,6),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,4),(0,5),(3,6),(4,6),(5,1),(5,2),(5,3)],7)=>([],1)
([(0,6),(1,4),(1,5),(4,6),(5,2),(5,3),(5,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,6),(4,2),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,6),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([],1)
([(1,5),(2,3),(2,4),(3,6),(4,5),(5,6)],7)=>([],1)
([(0,5),(1,3),(1,4),(3,6),(4,5),(5,6),(6,2)],7)=>([],1)
([(0,6),(1,3),(1,5),(3,6),(5,2),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(3,6),(4,5),(6,2),(6,5)],7)=>([],1)
([(1,5),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,6),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6),(6,2)],7)=>([],1)
([(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,5),(4,5),(4,6),(6,2)],7)=>([],1)
([(0,2),(0,3),(1,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,5),(1,3),(1,4),(3,6),(4,5),(4,6),(6,2)],7)=>([],1)
([(1,6),(2,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(4,6),(5,1),(5,2),(6,3)],7)=>([],1)
([(0,6),(1,3),(1,5),(2,6),(3,6),(5,2),(6,4)],7)=>([(0,1)],2)
([(1,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,5),(2,3),(2,4),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(2,6),(3,6),(5,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(3,6),(4,6),(5,2)],7)=>([(0,2),(2,1)],3)
([(0,5),(2,6),(3,6),(4,2),(4,3),(5,1),(5,4)],7)=>([],1)
([(0,5),(1,3),(1,4),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)=>([],1)
([(0,4),(1,2),(1,3),(2,5),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,3),(1,4),(3,6),(4,6),(5,2),(6,5)],7)=>([],1)
([(1,5),(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,5),(4,5),(5,6),(6,2)],7)=>([],1)
([(0,5),(1,2),(1,3),(2,6),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,3),(0,4),(3,6),(4,6),(5,1),(6,2),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(3,6),(4,6),(6,2),(6,5)],7)=>([],1)
([(0,4),(1,5),(1,6),(5,3),(6,2)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,5),(0,6),(4,3),(5,1),(6,2),(6,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(3,6),(4,2),(5,1),(5,4),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(2,6),(3,5),(4,1),(4,2),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(3,2),(4,3),(4,6),(5,1),(5,6)],7)=>([(0,1)],2)
([(0,2),(0,4),(2,5),(2,6),(3,1),(4,3),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,6),(2,4),(2,5),(3,1),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,2),(0,3),(1,6),(2,4),(2,5),(3,1),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(2,6),(3,1),(3,5),(4,2),(4,5),(5,6)],7)=>([],1)
([(0,6),(1,4),(1,5),(4,3),(5,2),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,3),(1,4),(3,5),(4,2),(4,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(3,6),(4,2),(4,6),(5,1),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(2,5),(3,2),(3,6),(4,1),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,4),(2,4),(2,5),(2,6),(3,1),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(2,5),(3,5),(3,6),(4,1),(4,2),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(4,3),(4,6),(5,2),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,3),(1,4),(3,5),(3,6),(4,2),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,6),(2,4),(2,5),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,5),(3,6),(4,2),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,3),(1,5),(3,6),(5,2),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,3),(1,4),(3,5),(4,2),(4,5),(4,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(1,2),(1,3),(2,5),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(2,5),(2,6),(3,5),(3,6),(4,1),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,4),(2,5),(2,6),(3,5),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,5),(2,4),(2,6),(3,4),(3,6),(4,5),(6,1)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(3,6),(4,2),(5,1),(5,6),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,3),(1,4),(3,5),(4,2),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,3),(2,4),(4,5),(5,6)],7)=>([(0,1)],2)
([(1,2),(1,5),(3,6),(4,6),(5,3),(5,4)],7)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(5,1),(5,2),(6,3)],7)=>([],1)
([(0,6),(1,2),(1,5),(3,6),(5,3),(6,4)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,6),(3,6),(4,3),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(1,6),(2,6),(4,2),(5,1),(6,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,5),(2,6),(3,4),(3,6)],7)=>([],1)
([(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,5),(1,6),(6,2),(6,3)],7)=>([],1)
([(1,4),(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,5),(1,6),(5,4),(6,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,3),(1,5),(1,6),(5,4),(6,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,5),(1,6),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,1)],2)
([(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(6,2),(6,3)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([],1)
([(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6),(6,2)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(5,3),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(5,3),(6,2),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(5,2),(5,3),(6,2),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(4,2),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(4,3),(5,2),(6,2),(6,3)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(3,6),(4,2),(4,6),(5,2),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(3,2),(5,3),(6,3)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(3,2),(4,3),(5,3),(6,2)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(5,2),(6,3)],7)=>([(0,1)],2)
([(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(5,6)],7)=>([],1)
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(4,6),(5,6),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(1,6),(4,3),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,3),(1,5),(1,6),(3,4),(6,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,5),(1,6),(3,4),(5,2),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,4),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,5),(1,6),(3,2),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,4),(5,3),(6,3),(6,4)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(4,3),(4,6),(5,3),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(1,6),(4,2),(4,3)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,5),(1,6),(3,2),(3,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(2,4),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(2,4),(5,4),(6,3)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(2,6),(4,6),(5,3),(5,6)],7)=>([],1)
([(0,3),(0,4),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,4),(1,6),(2,3),(2,6),(6,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(6,2),(6,3)],7)=>([],1)
([(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(1,6),(2,3),(2,5),(3,6),(5,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,5),(0,6),(1,4),(1,6),(4,5),(6,2),(6,3)],7)=>([(0,1)],2)
([(1,4),(1,6),(2,3),(2,4),(3,6),(4,5),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,5),(1,6),(2,3),(2,5),(3,6),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,2),(1,6),(2,5),(5,3),(6,4)],7)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,3),(0,6),(1,5),(1,6),(3,5),(5,4),(6,2),(6,4)],7)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,5),(0,6),(1,4),(1,5),(4,6),(6,2),(6,3)],7)=>([],1)
([(0,3),(0,6),(1,5),(1,6),(3,5),(5,2),(5,4),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,2),(0,6),(1,5),(1,6),(2,5),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,3),(1,6),(2,4),(2,6),(4,5)],7)=>([(0,1)],2)
([(1,3),(1,5),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,5),(1,4),(1,5),(4,6),(5,6),(6,2)],7)=>([],1)
([(0,4),(0,6),(1,5),(1,6),(5,2),(6,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,6),(1,4),(1,6),(4,5),(6,2),(6,5)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,3),(2,5),(3,4),(3,6)],7)=>([],1)
([(1,4),(1,5),(2,3),(2,4),(3,5),(3,6),(4,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(1,6),(4,3),(4,5),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,5),(1,6),(3,4),(3,5),(6,2),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(4,3),(4,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,5),(1,6),(3,4),(3,5),(5,2),(6,4)],7)=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)
([(0,3),(0,6),(1,5),(1,6),(3,2),(3,5),(5,4),(6,4)],7)=>([],1)
([(0,2),(0,6),(1,5),(1,6),(2,4),(2,5),(5,3),(6,3),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,4),(0,6),(1,5),(1,6),(5,2),(5,3)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,6),(4,2),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,2),(1,6),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(4,2),(4,3),(4,5)],7)=>([],1)
([(0,3),(0,6),(1,5),(1,6),(3,2),(3,4),(3,5),(6,4)],7)=>([(0,1)],2)
([(0,2),(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(6,3),(6,4)],7)=>([],1)
([(1,4),(1,5),(2,3),(2,5),(3,6),(4,6)],7)=>([],1)
([(1,4),(1,5),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,3),(1,5),(3,6),(4,6),(5,6),(6,2)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,6),(3,5),(4,5),(6,2)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(3,6),(4,6),(5,2),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(3,6),(4,6),(6,2)],7)=>([],1)
([(0,3),(0,6),(1,2),(1,6),(2,5),(3,5),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(4,2),(5,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,6),(1,4),(1,6),(3,5),(4,2),(6,5)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,6),(2,4),(3,5),(6,4),(6,5)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,6),(3,5),(4,2),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,2),(1,6),(2,5),(3,4),(3,5),(6,4)],7)=>([],1)
([(0,2),(0,4),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,3),(0,5),(1,4),(1,5),(3,6),(4,2),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,6),(2,4),(2,5),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,2),(1,4),(2,5),(2,6),(3,5),(3,6),(4,6)],7)=>([],1)
([(0,3),(0,4),(1,2),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,5),(0,6),(1,4),(1,6),(3,5),(4,3),(6,2)],7)=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)
([(0,5),(0,6),(1,4),(1,5),(3,6),(4,3),(6,2)],7)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,2),(0,6),(1,5),(1,6),(2,3),(3,5),(5,4),(6,4)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,5),(1,6),(2,3),(2,4)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(2,6)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(4,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,5),(1,6),(3,4),(6,4)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,5),(1,6),(2,4),(3,4)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,5),(1,6),(5,4),(6,4)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(2,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,4),(1,6),(4,5),(6,2)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,5),(1,6),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,5),(2,6),(3,6),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,5),(2,6),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(1,6),(3,5),(4,2)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,2),(0,3),(0,6),(1,4),(1,6),(2,5),(3,4),(3,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,6),(1,5),(1,6),(2,4),(3,5),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,2),(1,3),(1,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,4),(1,5),(3,6),(4,2),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,5),(1,5),(1,6),(2,4),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,4),(1,5),(4,6),(6,2)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,6),(1,5),(1,6),(3,5),(5,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,3),(1,5),(1,6),(5,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(1,6),(4,2),(4,5)],7)=>([],1)
([(0,2),(0,3),(0,6),(1,5),(1,6),(3,4),(3,5),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,2),(1,3),(1,6),(3,5),(6,5)],7)=>([],1)
([(0,4),(0,6),(1,2),(1,3),(1,6),(2,5),(3,5)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(4,6)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,5),(1,4),(1,5),(2,6),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(1,6),(3,5),(4,5)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,4),(1,5),(1,6),(5,3),(6,3)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(5,2),(6,2)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(3,2)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,4),(1,5),(1,6),(2,3),(6,3)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,2),(1,5),(1,6),(5,4),(6,4)],7)=>([],1)
([(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(3,4),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(3,4),(4,2)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,4),(0,6),(1,4),(1,5),(1,6),(2,5),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,2),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,2),(1,5),(1,6),(3,4),(6,4)],7)=>([],1)
([(0,2),(0,4),(0,5),(1,3),(1,4),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(3,2),(3,4)],7)=>([],1)
([(0,2),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(0,6),(1,2),(1,5),(1,6),(2,4),(3,4)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(3,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,3),(1,6),(6,4)],7)=>([(0,1)],2)
([(1,4),(1,5),(2,3),(2,5),(2,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(1,6),(4,6),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,2),(1,5),(1,6),(3,5),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,3),(1,5),(1,6),(4,5),(6,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,6),(1,4),(1,5),(1,6),(3,5),(4,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(1,2),(1,5),(1,6),(2,4),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,4),(1,6),(2,5),(3,4),(6,5)],7)=>([(0,1)],2)
([(0,2),(0,4),(1,3),(1,4),(1,5),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,4),(1,6),(2,5),(3,4),(3,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,2),(1,4),(1,5),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,5),(1,6),(3,4),(3,5),(5,2)],7)=>([(0,1)],2)
([(0,2),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(5,3),(6,3)],7)=>([],1)
([(0,2),(0,4),(1,4),(1,5),(1,6),(2,5),(2,6),(5,3),(6,3)],7)=>([],1)
([(0,2),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,5),(1,6),(3,4),(3,5),(6,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(1,6),(5,2)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(1,6),(4,5),(6,5)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,5),(1,6),(4,2),(4,5)],7)=>([],1)
([(0,3),(0,6),(1,2),(1,5),(1,6),(3,4),(3,5),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(1,5),(1,6),(3,2),(3,4),(3,5)],7)=>([],1)
([(0,2),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,4)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(1,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(1,5),(1,6),(4,5)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,4),(1,5),(1,6),(3,4),(3,5)],7)=>([],1)
([(0,2),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,3),(1,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,5),(1,6),(3,5),(3,6),(4,1)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,5),(3,6),(4,1),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,2),(1,3),(1,4),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(1,5),(2,6),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,5),(2,6),(3,6),(4,1),(4,6),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,5),(1,6),(2,6),(3,5),(3,6),(4,1)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,5),(1,6),(2,6),(3,5),(4,1)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(1,5),(3,6),(4,5)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,3),(0,6),(1,2),(1,4),(1,5),(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,5),(1,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(1,2),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(1,6)],7)=>([],1)
([(0,2),(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(3,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(1,5),(2,6),(3,6)],7)=>([],1)
([(0,3),(0,5),(0,6),(1,2),(1,4),(1,5),(1,6),(3,4)],7)=>([(0,1)],2)
([(0,2),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,6),(3,5)],7)=>([(0,1)],2)
([(0,2),(0,3),(0,6),(1,4),(1,5),(1,6),(3,4),(3,5)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,5),(2,6),(3,6)],7)=>([],1)
([(0,2),(0,3),(0,6),(1,4),(1,5),(1,6),(2,5),(3,4)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(2,6),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(0,6),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(0,6),(1,2),(1,4),(1,6),(2,5),(3,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,5),(1,3),(1,4),(1,6),(5,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,3),(3,5),(3,6)],7)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(1,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,1)],7)=>([],1)
([(0,2),(0,4),(2,5),(2,6),(3,1),(3,5),(3,6),(4,3)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,6),(3,5)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,6),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,4),(1,5),(1,6),(2,6),(3,4),(3,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,2),(1,3),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(1,4),(1,6),(2,3),(2,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(4,5),(4,6),(6,2)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,5),(1,6),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,2),(6,1)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,4),(1,5),(2,4),(2,5),(3,1),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,4),(3,5),(3,6),(4,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(1,4),(1,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,4),(1,6),(2,5),(3,4),(3,6),(6,5)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,3),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,4),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(3,5),(3,6),(4,2),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,4),(3,5),(3,6),(4,2),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,2),(1,3),(2,5),(2,6),(3,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(3,6),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,3),(1,6),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(2,6),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(3,6),(4,6),(5,2)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,2),(1,3),(2,6),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,3),(2,4),(3,6),(4,5)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6),(6,2)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,4),(2,6),(4,5),(4,6),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(3,6),(4,5),(6,2)],7)=>([],1)
([(0,2),(0,3),(1,5),(1,6),(2,6),(3,5),(5,4),(6,4)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,5),(3,6),(5,2)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,6),(1,2),(1,3),(2,6),(3,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(3,6),(4,2),(4,6),(5,1),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,3),(1,5),(3,6),(5,2),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(0,6),(1,2),(1,3),(2,6),(3,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(3,5),(4,2),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,4),(1,5),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,3),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,5),(1,6),(2,6),(3,4),(3,5),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(3,6),(4,2),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,2),(1,3),(2,6),(3,5),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,2),(1,3),(2,6),(3,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,4),(1,6),(2,3),(2,5),(3,6),(4,5)],7)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,4),(0,6),(1,3),(1,5),(3,6),(4,5),(6,2)],7)=>([(0,3),(0,4),(1,7),(2,6),(3,8),(4,8),(5,1),(5,6),(6,7),(8,2),(8,5)],9)
([(0,3),(0,6),(1,2),(1,5),(2,6),(3,5),(5,4),(6,4)],7)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,5),(0,6),(1,3),(1,4),(4,6),(5,2)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,6),(1,2),(1,3),(3,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,5),(2,6),(3,1),(4,3),(4,6),(5,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,2),(0,4),(1,6),(2,5),(3,1),(3,5),(4,3),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,4),(1,5),(3,5),(4,2),(4,6)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,2),(1,5),(2,6),(3,4),(3,5),(6,4)],7)=>([(0,4),(0,5),(1,6),(2,6),(4,7),(5,7),(6,3),(7,1),(7,2)],8)
([(0,3),(0,4),(1,5),(1,6),(6,2)],7)=>([(0,1)],2)
([(0,4),(0,6),(5,2),(5,3),(6,1),(6,5)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,5),(5,2),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(4,2),(4,5),(4,6)],7)=>([],1)
([(0,4),(0,6),(1,2),(1,3),(3,5),(3,6),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,4),(1,5),(2,5),(2,6),(3,1),(3,6),(4,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(0,6),(1,2),(1,5),(2,4),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,3),(0,5),(1,2),(1,4),(4,6),(5,6)],7)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,6),(1,2),(1,3),(2,5),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,6),(3,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,4),(1,5),(2,6),(3,5),(3,6),(6,4)],7)=>([],1)
([(0,3),(0,4),(1,2),(1,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,6),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,4),(3,6),(4,6),(5,1),(5,2),(6,5)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,3),(2,5),(3,5),(5,6)],7)=>([(0,1)],2)
([(0,2),(0,3),(1,4),(1,5),(2,6),(3,6),(6,4),(6,5)],7)=>([],1)
([(2,5),(3,4),(3,6),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,4),(2,3),(2,6),(4,6),(6,5)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,5),(1,4),(1,6),(5,6),(6,2),(6,3)],7)=>([],1)
([(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(2,4),(4,5),(4,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(4,5),(4,6),(6,2),(6,3)],7)=>([],1)
([(1,5),(1,6),(2,3),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(2,5),(2,6),(5,4),(6,3)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,3),(1,5),(1,6),(3,5),(3,6),(5,4),(6,2),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(1,5),(1,6),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,4),(2,5),(6,3)],7)=>([(0,2),(2,1)],3)
([(1,3),(1,6),(4,5),(5,2),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,5),(4,6),(5,4),(6,1),(6,2)],7)=>([],1)
([(0,5),(0,6),(3,4),(4,2),(5,3),(6,1)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,2),(0,5),(2,6),(3,4),(4,1),(5,3),(5,6)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,2),(0,4),(1,6),(2,5),(3,1),(4,3),(4,5),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,5),(2,6),(3,2),(4,3),(5,1),(5,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,2),(0,4),(1,5),(2,5),(2,6),(3,1),(4,3),(4,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,6),(5,3),(5,4),(6,2),(6,5)],7)=>([],1)
([(0,5),(5,4),(5,6),(6,1),(6,2),(6,3)],7)=>([],1)
([(1,4),(2,3),(2,6),(4,5),(4,6)],7)=>([],1)
([(0,5),(1,4),(1,6),(5,2),(5,6),(6,3)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(4,3),(4,5),(4,6),(6,2)],7)=>([(0,1)],2)
([(0,3),(1,5),(1,6),(3,2),(3,5),(3,6),(5,4),(6,4)],7)=>([],1)
([(1,5),(1,6),(2,3),(3,4),(3,6),(4,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(3,5),(4,3),(4,6),(6,2)],7)=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)
([(0,3),(1,5),(1,6),(2,6),(3,2),(3,5),(5,4),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(3,6),(4,3),(4,5),(6,2)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,4),(1,5),(6,2),(6,3)],7)=>([],1)
([(0,6),(5,3),(5,4),(6,1),(6,2),(6,5)],7)=>([],1)
([(0,5),(1,4),(1,6),(5,2),(5,3),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(4,2),(4,3),(4,5),(4,6)],7)=>([],1)
([(1,4),(2,3),(2,6),(4,5),(5,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(1,4),(1,6),(2,6),(5,2),(6,3)],7)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(1,5),(3,6),(4,2),(4,6),(5,3),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(2,6),(4,1),(4,6),(5,2),(5,4),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,5),(1,6),(3,6),(4,3),(5,2)],7)=>([(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,3),(0,6),(1,4),(2,6),(3,5),(4,2),(6,5)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(2,6),(3,1),(4,3),(4,6),(5,2),(5,4)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(2,6),(3,5),(4,2),(4,5)],7)=>([(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,1),(5,7),(7,8),(8,2),(8,3)],9)
([(1,5),(1,6),(2,3),(3,4),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(3,5),(3,6),(4,3),(6,2)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(1,5),(1,6),(2,3),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(2,5),(2,6),(3,5),(3,6),(4,2),(4,3)],7)=>([(0,1)],2)
([(0,4),(2,5),(2,6),(3,5),(3,6),(4,2),(4,3),(6,1)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(1,5),(2,4),(2,5),(3,1),(3,2),(4,6),(5,6)],7)=>([(0,1)],2)
([(3,6),(4,5),(5,6)],7)=>([(0,1)],2)
([(2,6),(3,4),(4,6),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,3),(3,6),(6,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(2,6),(6,3),(6,4),(6,5)],7)=>([],1)
([(2,4),(3,5),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(2,6),(5,4),(6,3),(6,5)],7)=>([(0,1)],2)
([(2,3),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)=>([],1)
([(0,5),(1,6),(2,6),(5,1),(5,2),(6,3),(6,4)],7)=>([(0,1)],2)
([(2,6),(3,4),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,3),(3,5),(3,6),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(5,2),(5,6),(6,3),(6,4)],7)=>([],1)
([(1,3),(2,6),(3,5),(3,6),(5,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(1,6),(2,3),(3,4),(3,6),(4,5),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(3,6),(4,3),(4,5),(5,6),(6,2)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(4,2),(5,4),(5,6),(6,3)],7)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(1,4),(3,5),(4,3),(4,6),(6,2),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,4),(4,5),(4,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,6),(1,3),(3,4),(3,6),(4,2),(4,5),(6,5)],7)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,2),(1,6),(2,3),(2,6),(3,4),(3,5),(6,4),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,5),(2,6),(6,3),(6,4)],7)=>([(0,1)],2)
([(1,6),(5,4),(6,2),(6,3),(6,5)],7)=>([(0,1)],2)
([(1,3),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(5,2),(5,3),(5,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,6),(6,2),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(5,4),(6,1),(6,2),(6,3),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(5,2),(5,3),(5,4),(5,6)],7)=>([(0,1)],2)
([(1,3),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(1,5),(3,6),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,5),(2,6),(3,6),(5,1),(5,2),(5,3),(6,4)],7)=>([],1)
([(0,6),(1,5),(3,6),(5,2),(5,3),(6,4)],7)=>([],1)
([(1,3),(2,6),(3,4),(3,5),(4,6),(5,6)],7)=>([],1)
([(1,5),(2,6),(3,6),(4,6),(5,2),(5,3),(5,4)],7)=>([],1)
([(0,5),(1,6),(2,6),(3,6),(5,1),(5,2),(5,3),(6,4)],7)=>([],1)
([(0,6),(1,5),(2,6),(3,6),(5,2),(5,3),(6,4)],7)=>([],1)
([(2,6),(4,5),(5,3),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,5),(4,6),(5,4),(6,2),(6,3)],7)=>([],1)
([(0,5),(4,6),(5,4),(6,1),(6,2),(6,3)],7)=>([],1)
([(2,5),(3,4),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,4),(2,3),(3,6),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(4,6),(5,6),(6,2),(6,3)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,6),(2,5),(5,3),(6,4)],7)=>([(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)
([(1,6),(4,5),(5,3),(6,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(1,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(1,4),(2,3),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,3),(3,5),(3,6),(4,5),(4,6),(6,2)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,3),(1,2),(2,5),(2,6),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,5),(4,6),(5,2),(5,6),(6,3)],7)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,6),(1,5),(5,4),(6,2),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(4,5),(5,3),(6,1),(6,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,5),(4,6),(5,2),(5,3),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(4,5),(5,2),(5,3),(6,1),(6,4)],7)=>([],1)
([(0,5),(1,4),(4,2),(4,6),(5,3),(5,6)],7)=>([],1)
([(0,3),(1,4),(3,5),(3,6),(4,2),(4,5),(4,6)],7)=>([],1)
([(0,3),(1,2),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([],1)
([(1,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,5),(2,6),(3,6),(4,3),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,5),(1,6),(2,6),(4,2),(5,1),(5,4),(6,3)],7)=>([(0,1)],2)
([(0,4),(1,5),(2,6),(4,6),(5,2),(6,3)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(2,6),(3,4),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(1,6),(2,3),(3,5),(5,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,6),(5,2),(6,3),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,5),(3,4)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(1,6),(2,5),(3,4),(3,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,6),(2,5),(3,4),(3,5),(3,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,5),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,4),(1,6),(1,7),(2,5),(2,7),(3,5),(3,6),(4,1),(4,2),(4,3),(5,8),(6,8),(7,8)],9)
([(0,4),(1,5),(2,3),(2,4),(2,5),(3,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,5),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,5),(1,4),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,6),(2,5),(3,4),(3,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(1,5),(2,3),(2,5),(3,6),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,5),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,5),(3,6),(5,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,5),(3,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,6),(3,5),(4,5),(6,2),(6,3)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,5),(3,6),(5,4),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(2,3),(2,4),(3,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,5),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,6),(2,5),(3,5),(5,4),(6,2)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(2,4),(2,6),(4,5)],7)=>([(0,3),(0,4),(1,6),(1,8),(2,6),(2,7),(3,5),(4,1),(4,2),(4,5),(5,7),(5,8),(6,9),(7,9),(8,9)],10)
([(0,6),(1,5),(1,6),(4,3),(5,2),(5,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(1,6),(3,5),(4,2),(4,3),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(3,2),(4,3),(4,5),(6,5)],7)=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)
([(0,6),(1,3),(1,6),(3,4),(3,5),(5,2),(6,4),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,3),(1,6),(2,5),(3,2),(3,4),(6,4),(6,5)],7)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,6),(1,5),(2,3),(2,5),(3,4),(3,6)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,6),(1,4),(1,6),(3,5),(4,2),(4,5),(6,3)],7)=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)
([(0,6),(1,3),(1,6),(2,5),(3,4),(3,5),(6,2),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,5),(2,3),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(1,5),(2,3),(2,4),(3,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,6),(4,3),(5,2),(6,5)],7)=>([(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),(1,3),(1,6),(3,5),(4,2),(6,4),(6,5)],7)=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)
([(0,6),(1,5),(2,3),(2,5),(3,4),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,4),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,3),(2,4),(3,6),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(1,5),(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,3),(2,6),(3,5),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,3),(2,4),(2,6),(3,6),(4,5),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,4),(1,6),(2,5),(3,5),(4,2),(4,3)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,6),(2,4),(3,2),(3,5),(5,4),(6,5)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(1,2),(1,6),(2,4),(2,5),(4,3),(5,3),(6,4),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,5),(2,6),(3,6),(4,2),(4,3),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(2,5),(3,5),(4,3),(6,2)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,6),(1,3),(1,6),(2,4),(3,5),(5,4),(6,2),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(2,3),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,6),(2,3),(2,6),(4,5),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,6),(2,5),(3,4),(3,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,4),(2,5),(5,6),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(2,4),(2,6),(6,5)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,6),(1,3),(1,6),(5,2),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,4),(2,6),(6,3),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,5),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,5),(1,6),(2,4),(2,6),(6,3)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(1,5),(1,6),(2,4),(2,6),(3,4),(3,5)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,5),(2,6),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,3),(1,6),(2,3),(2,4),(2,6),(3,5),(4,5)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,5),(2,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(4,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(4,3),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,4),(2,5),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,4),(1,5),(2,5),(2,6),(5,3),(6,3)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,3),(1,5),(2,3),(2,4),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,5),(2,4),(2,6),(3,4),(3,5),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(2,4),(2,6),(4,5),(6,3)],7)=>([],1)
([(0,5),(1,4),(1,6),(2,4),(2,5),(5,6),(6,3)],7)=>([],1)
([(0,5),(1,4),(1,6),(2,5),(2,6),(4,3),(5,4),(6,3)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,4),(2,5),(6,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(1,4),(1,5),(2,3),(2,5),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(2,5),(2,6),(5,3),(6,3),(6,4)],7)=>([],1)
([(0,6),(1,4),(1,6),(2,4),(2,5),(6,3),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,5),(2,6),(3,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(5,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(4,5),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(3,5),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(3,5),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,5),(2,6),(3,4),(3,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(1,6),(2,3),(2,5),(3,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,6),(2,3),(2,4),(3,6),(4,5),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(1,6),(2,3),(2,5),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,6),(2,3),(2,6),(3,4)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,4),(1,4),(1,5),(2,3),(2,5),(3,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,5),(2,3),(2,4),(3,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,6),(3,5),(4,2),(4,3)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,5),(1,6),(2,5),(3,2),(3,4),(6,4)],7)=>([(0,5),(1,7),(2,7),(3,6),(4,6),(5,1),(5,2),(7,3),(7,4)],8)
([(0,6),(1,5),(1,6),(2,3),(2,5),(3,4),(3,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(1,4),(1,6),(2,3),(2,4),(3,5),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(1,6),(2,3),(2,5),(3,4),(4,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(1,4),(1,5),(2,6),(3,6),(4,2),(4,3)],7)=>([(0,1)],2)
([(1,6),(2,5),(2,6),(3,4),(3,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,6),(2,5),(2,6),(3,4),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,4),(2,6),(4,5),(6,3)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,6),(3,5),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,6),(3,5),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,6),(2,4),(2,6),(4,5)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,6),(1,5),(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,4),(1,6),(2,3),(2,6),(3,4),(3,5),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,6),(2,4),(2,6),(4,5),(6,5)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,4),(1,6),(2,3),(2,6),(3,5),(4,5)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,5),(1,6),(2,3),(2,6),(3,4),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,6),(2,3),(2,6),(6,5)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,6),(1,5),(1,6),(2,3),(2,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,6),(2,4),(2,5),(4,6)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,3),(1,6),(2,4),(2,5),(3,4),(3,5),(6,2)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(2,3),(2,4),(3,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,6),(3,5),(4,2),(4,5),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(1,3),(1,6),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(1,4),(2,3),(2,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(1,4),(1,6),(2,5),(3,6),(4,2)],7)=>([(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,6),(1,4),(1,6),(5,2),(5,3),(6,5)],7)=>([],1)
([(0,5),(1,3),(1,6),(2,4),(2,5),(5,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,4),(1,5),(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,5),(1,6),(2,3),(2,4),(2,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(1,5),(2,3),(2,5),(2,6),(4,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(6,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,4),(1,6),(3,5),(4,3)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(4,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(1,5),(2,6),(3,6),(4,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,6),(2,3),(2,5),(2,6),(4,5)],7)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([],1)
([(0,5),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([],1)
([(0,5),(1,5),(1,6),(2,3),(2,4),(4,6)],7)=>([],1)
([(0,4),(1,4),(1,6),(2,3),(2,5),(3,6),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,4),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(2,6),(3,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,6),(2,5),(2,6),(3,5),(3,6),(4,1),(4,2)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(2,5),(2,6),(3,5),(4,2)],7)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(2,3),(2,4),(3,6),(4,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(2,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,5),(2,5),(2,6),(3,6),(4,1),(4,2)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,4),(2,6),(3,5),(4,3),(4,6)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,2),(1,5),(3,6),(5,3)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(0,5),(2,6),(4,1),(4,6),(5,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,4),(3,5),(4,3),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(2,6),(3,1),(3,6),(4,2),(5,3)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,3),(0,4),(1,5),(2,5),(2,6),(3,2),(4,1),(4,6)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,6),(1,4),(1,6),(2,3),(2,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(2,3),(2,5),(3,6),(4,5)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,5),(1,6),(2,3),(2,4),(3,6),(4,5)],7)=>([],1)
([(0,5),(1,5),(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,5),(2,6),(3,6),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(2,6),(3,6),(4,1),(4,6),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,4),(2,6),(3,6),(4,2),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,6),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(1,5),(2,5),(2,6),(3,4),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(2,3),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(2,3),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,4),(1,6),(2,3),(3,6),(4,5),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,5),(2,6),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(3,5),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,4),(4,5),(4,6),(6,3)],7)=>([(0,1)],2)
([(1,6),(2,5),(3,4),(3,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(2,3),(2,6),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(2,3),(2,6),(4,5)],7)=>([(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,5),(1,6),(3,4),(4,2),(5,3)],7)=>([(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),(1,3),(1,6),(3,5),(4,2),(5,4),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,6),(2,5),(3,2),(4,3),(6,5)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,5),(1,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,3),(1,6),(2,5),(3,5),(4,2),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,4),(2,3),(2,6),(3,5),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(1,6),(4,2),(5,4),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(1,4),(2,3),(2,5),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(4,3),(4,6),(5,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,6),(2,3),(3,4),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(1,4),(1,5),(2,3),(3,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(1,6),(2,3),(3,4),(3,5),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(1,6),(3,6),(5,2),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(3,6),(4,2),(4,6),(5,1),(5,3),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(3,5),(4,2),(4,3),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,3),(2,6),(4,5),(4,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,6),(1,5),(1,6),(2,3),(3,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,6),(2,3),(3,4),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,5),(3,5),(3,6),(4,2),(4,3)],7)=>([],1)
([(0,5),(0,6),(1,4),(2,6),(3,5),(4,2),(4,3)],7)=>([],1)
([(0,4),(1,6),(2,5),(3,5),(3,6),(4,1),(4,2),(4,3)],7)=>([],1)
([(0,6),(1,5),(1,6),(2,3),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2),(4,3)],7)=>([],1)
([(0,6),(1,4),(2,3),(2,6),(4,5),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(3,6),(4,2),(4,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,5),(1,4),(1,6),(2,6),(3,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,5),(2,6),(3,6),(4,1),(4,6),(5,2),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(2,6),(3,6),(4,2),(4,3),(4,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(2,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(2,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(1,5),(1,6),(4,2),(5,4)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,2),(1,4),(1,6),(3,5),(4,3),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(2,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,4),(1,6),(3,5),(4,5),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(2,5),(3,5),(4,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,2),(1,3),(1,6),(2,5),(3,4),(5,4),(6,5)],7)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(1,5),(2,6),(3,6),(4,2),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,2),(1,3),(1,5),(2,6),(3,6),(4,6),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(5,2),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(2,3),(2,4),(2,5),(5,6)],7)=>([(0,1)],2)
([(0,5),(1,4),(2,3),(2,5),(2,6),(4,6)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,6),(1,4),(2,3),(2,5),(2,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,4),(1,4),(1,5),(1,6),(2,3),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,2),(1,3),(1,6),(4,6),(5,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(3,6),(4,1),(4,2),(4,6),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(1,6),(2,5),(4,2),(4,6)],7)=>([(0,1)],2)
([(0,2),(1,4),(1,5),(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(2,6),(3,2),(3,4),(3,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(2,4),(2,6),(5,6)],7)=>([(0,1)],2)
([(0,4),(1,3),(1,6),(5,2),(6,5)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,6),(4,2),(5,1),(6,4),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(1,5),(4,2),(5,4),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(1,2),(1,4),(3,5),(4,3),(4,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(4,2),(5,6),(6,1),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(4,5),(5,2),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(3,2),(4,1),(5,3),(6,4)],7)=>([(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,4),(0,5),(2,6),(3,1),(4,2),(5,3),(5,6)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,3),(0,4),(1,6),(2,5),(3,2),(4,1),(4,5),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(0,4),(1,6),(2,5),(3,2),(3,6),(4,1),(4,5)],7)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,6),(1,4),(2,3),(2,5),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(2,4),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(2,5),(3,5),(3,6),(4,2)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,6),(2,5),(3,5),(3,6),(4,1),(4,2)],7)=>([],1)
([(0,6),(1,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(4,6),(5,2),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(4,6),(6,5)],7)=>([],1)
([(0,5),(1,2),(1,4),(3,6),(4,6),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(2,6),(3,6),(4,1),(4,3),(5,2),(5,4)],7)=>([],1)
([(0,3),(0,6),(1,4),(2,5),(3,5),(4,2),(4,6)],7)=>([],1)
([(0,4),(1,3),(1,5),(2,6),(3,6),(4,2),(4,5),(5,6)],7)=>([],1)
([(0,2),(0,5),(1,6),(2,6),(3,4),(4,1),(5,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(2,3),(2,4),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(1,6),(2,6),(3,6),(4,2),(5,1),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,5),(2,6),(3,6),(4,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,6),(2,6),(3,6),(4,5),(5,1),(5,2)],7)=>([],1)
([(0,4),(1,3),(1,5),(2,6),(3,6),(5,2)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(2,6),(3,6),(4,1),(5,2),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(2,5),(3,5),(4,2),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,5),(2,6),(3,6),(4,1),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,3),(0,4),(1,6),(2,5),(3,5),(4,1),(4,2),(5,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(2,5),(3,5),(4,2),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,4),(2,6),(3,6),(4,2),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(3,6),(4,6),(5,2),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(3,6),(4,6),(6,5)],7)=>([],1)
([(0,5),(1,3),(1,4),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,6),(2,6),(3,6),(4,2),(4,3),(5,1),(5,4)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,5),(3,6),(4,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,4),(2,6),(3,5),(4,3),(6,5)],7)=>([(0,1)],2)
([(0,3),(0,4),(2,6),(3,6),(4,5),(5,1),(5,2)],7)=>([],1)
([(0,6),(1,3),(1,4),(3,6),(4,5),(5,2),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,5),(3,6),(4,2),(5,4),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,4),(2,6),(3,5),(4,3),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(2,4),(3,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(3,5),(3,6),(4,5),(4,6)],7)=>([],1)
([(0,6),(1,2),(1,4),(2,6),(3,5),(4,5),(6,3)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(3,6),(4,5),(5,6)],7)=>([],1)
([(0,5),(1,4),(1,6),(2,3),(2,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,5),(1,6),(4,2),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,5),(1,6),(4,2),(5,4),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,5),(1,6),(3,4),(5,3),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(5,6)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(1,6),(2,3),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,3),(0,4),(1,5),(1,6),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,6),(1,3),(1,5),(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(2,3),(2,5),(2,6),(4,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(0,6),(1,4),(2,3),(2,5),(2,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(1,3),(1,5),(1,6),(2,5),(2,6),(4,2)],7)=>([],1)
([(0,2),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,1),(3,2)],7)=>([],1)
([(0,4),(2,5),(2,6),(3,1),(3,5),(3,6),(4,2),(4,3)],7)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(1,6),(2,3),(3,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,4),(0,6),(1,4),(1,5),(1,6),(2,3),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,5),(1,6),(3,2),(4,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(1,5),(1,6),(3,4),(4,2),(6,4)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,4),(4,3),(5,4),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(3,4),(6,4)],7)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,4),(1,5),(2,3),(3,6),(4,6),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,5),(1,6),(2,4),(3,4),(6,2)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(4,3),(5,4),(6,4)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(5,6)],7)=>([],1)
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,6),(1,3),(1,5),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,6),(3,5)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,4),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([],1)
([(0,6),(1,3),(1,4),(1,5),(2,4),(2,5),(2,6),(6,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,3),(1,5),(1,6),(2,5),(4,2)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(1,5),(1,6),(2,5),(3,2),(3,4)],7)=>([(0,1)],2)
([(0,2),(0,6),(1,4),(1,5),(1,6),(2,3),(3,4),(3,5)],7)=>([],1)
([(0,6),(1,4),(1,5),(2,3),(2,5),(2,6),(4,6)],7)=>([],1)
([(0,4),(1,4),(1,5),(1,6),(2,3),(2,5),(3,6)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,4),(1,6),(2,3),(2,4),(2,5),(5,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(1,5),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,5),(1,4),(1,6),(2,3),(2,4),(2,5),(3,6),(5,6)],7)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,6),(1,3),(1,6),(5,2),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(2,3),(2,5),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,6),(4,2),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(1,6),(2,5),(4,2),(6,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(3,2),(4,3),(4,5)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,4),(1,6),(3,4),(3,5),(5,2),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,3),(0,6),(1,4),(1,6),(2,5),(3,2),(3,4),(6,5)],7)=>([],1)
([(0,4),(0,5),(1,2),(1,4),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,3),(0,5),(1,5),(1,6),(2,4),(3,2),(3,6),(6,4)],7)=>([],1)
([(0,2),(0,6),(1,5),(1,6),(2,4),(2,5),(4,3),(5,3),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,3),(1,6),(3,4),(4,2),(4,5)],7)=>([],1)
([(0,2),(0,6),(1,5),(1,6),(2,3),(3,4),(3,5),(6,4)],7)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,6),(1,3),(1,5),(2,4),(2,5),(4,6)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,6),(2,5),(4,5),(6,2)],7)=>([(0,1)],2)
([(0,6),(1,3),(1,5),(2,4),(2,5),(4,6),(5,6)],7)=>([],1)
([(0,5),(1,4),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(0,6),(1,4),(1,6),(2,5),(3,4),(3,5),(6,2)],7)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,6),(1,4),(1,5),(2,3),(2,4),(3,5),(3,6),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(2,3),(2,4),(3,6),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(1,6),(2,5),(3,5),(4,2)],7)=>([(0,1)],2)
([(0,2),(0,6),(1,3),(1,6),(2,5),(3,4),(5,4),(6,5)],7)=>([],1)
([(0,3),(0,5),(1,4),(1,5),(2,6),(3,6),(4,2),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6)],7)=>([],1)
([(0,4),(0,5),(1,3),(1,5),(2,6),(3,6),(4,6),(5,2)],7)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(2,4),(2,5),(4,6)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(0,6),(1,3),(1,6),(3,5),(4,2),(6,4)],7)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,3),(0,5),(1,5),(1,6),(2,4),(3,6),(5,2),(6,4)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,5),(1,4),(1,6),(2,3),(2,4),(3,6),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(2,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,4),(2,5),(2,6),(3,5),(4,2)],7)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,4),(1,5),(2,5),(2,6),(3,1),(3,6),(4,2),(4,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,3),(1,6),(3,5),(4,2),(5,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,3),(0,6),(1,5),(1,6),(3,5),(4,2),(5,4),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(1,4),(1,6),(2,5),(3,4),(4,2),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,4),(1,6),(2,3),(2,4),(3,6),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,6),(2,4),(2,6),(4,5)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,6),(3,4),(3,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,6),(3,5),(5,4)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,5),(2,3),(2,5),(3,6),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,5)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,6),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(4,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,5),(2,3),(2,5),(2,6),(4,6)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,4),(0,6),(1,4),(1,5),(1,6),(2,3),(2,6),(3,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(2,5),(3,4),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(2,6),(3,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(1,4),(1,5),(2,3),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,3),(0,4),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6)],7)=>([],1)
([(0,3),(0,6),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,4),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6)],7)=>([],1)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(2,5),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(2,5),(3,6)],7)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(0,6),(1,4),(1,5),(2,3),(2,5),(5,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(0,6),(1,3),(1,5),(2,5),(2,6),(5,4),(6,3)],7)=>([],1)
([(0,5),(0,6),(1,3),(1,6),(2,4),(2,5),(4,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(3,6),(4,5)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,5),(3,6),(4,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,6),(1,4),(1,5),(2,3),(2,5),(3,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(0,6),(1,4),(1,5),(2,3),(2,5),(3,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,6),(2,3),(2,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,4),(1,5),(2,3),(2,4),(3,5),(3,6),(4,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,6),(4,2),(4,6),(5,4)],7)=>([],1)
([(0,5),(0,6),(1,3),(3,4),(4,2),(4,5),(4,6)],7)=>([],1)
([(0,5),(3,2),(3,6),(4,1),(4,6),(5,3),(5,4)],7)=>([],1)
([(0,5),(0,6),(1,4),(3,2),(3,5),(4,3),(4,6)],7)=>([],1)
([(0,2),(1,5),(1,6),(2,3),(2,6),(3,4),(3,5),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(1,4),(1,6),(2,3),(2,6),(5,6)],7)=>([(0,2),(0,3),(0,4),(2,6),(2,7),(3,5),(3,7),(4,5),(4,6),(5,8),(6,8),(7,8),(8,1)],9)
([(0,5),(0,6),(1,3),(2,4),(2,6),(3,6),(4,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,4),(2,3),(2,5),(3,6),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,4),(2,3),(2,5),(4,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,4),(0,6),(1,4),(1,5),(2,3),(3,6),(6,5)],7)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(2,3),(2,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(0,6),(1,4),(1,6),(2,3),(3,5),(3,6),(5,4)],7)=>([(0,1)],2)
([(0,4),(0,6),(1,4),(1,5),(2,3),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(2,4),(2,5),(3,6),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(1,4),(1,6),(2,5),(3,2),(4,3)],7)=>([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)
([(0,3),(1,5),(2,4),(2,6),(5,6)],7)=>([(0,2),(0,3),(0,4),(1,7),(2,6),(2,8),(3,5),(3,8),(4,5),(4,6),(5,9),(6,9),(8,1),(8,9),(9,7)],10)
([(0,4),(1,3),(1,6),(4,6),(5,2),(6,5)],7)=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)
([(0,5),(1,4),(2,3),(2,6),(4,6),(6,5)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,4),(2,3),(2,5),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,4),(1,5),(1,6),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(1,5),(2,3),(3,5),(3,6),(6,4)],7)=>([(0,1)],2)
([(0,3),(1,4),(1,6),(2,5),(3,5),(3,6),(4,2)],7)=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)
([(0,5),(0,6),(1,3),(2,4),(4,5),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(1,3),(3,5),(3,6),(4,2),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(1,5),(1,6),(3,5),(3,6),(4,2),(5,4),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(1,6),(2,5),(3,4),(3,6),(4,2),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,5),(1,6),(2,3),(3,5),(3,6),(6,4)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(2,3),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,3),(1,4),(2,5),(2,6),(3,5),(3,6),(4,2)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,4),(1,5),(1,6),(2,5),(2,6),(3,2),(4,1),(4,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,4),(2,5),(2,6),(3,2),(4,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(1,5),(1,6),(2,5),(2,6),(3,4),(4,1),(4,2)],7)=>([(0,1)],2)
([(0,5),(1,3),(3,6),(4,2),(4,6),(5,4)],7)=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)
([(0,5),(1,4),(2,3),(2,6),(4,6),(5,6)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,5),(1,3),(1,6),(2,6),(4,2),(5,4)],7)=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)
([(0,4),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,3),(2,6),(3,4),(4,2),(4,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(2,6),(3,2),(4,1),(4,6),(5,3),(5,4)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(0,6),(1,4),(2,6),(3,2),(4,3),(4,5)],7)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,5),(0,6),(1,4),(2,3),(3,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(1,4),(2,3),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(1,5),(1,6),(3,6),(4,2),(5,4)],7)=>([(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,3),(1,4),(1,6),(2,5),(3,6),(4,2),(6,5)],7)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,6),(1,3),(2,4),(2,5),(3,5),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(1,4),(1,6),(2,5),(3,6),(4,5),(6,2)],7)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,6),(1,4),(2,3),(2,5),(3,6),(4,5),(5,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,4),(2,3),(2,5),(3,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,3),(1,4),(5,2),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,6),(3,5),(4,3),(5,1),(6,4)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(4,3),(5,1),(5,2),(6,4),(6,5)],7)=>([(0,1)],2)
([(0,5),(1,3),(1,6),(4,2),(5,4),(5,6)],7)=>([(0,1)],2)
([(0,3),(0,6),(1,4),(2,5),(4,2),(4,6),(6,5)],7)=>([],1)
([(0,5),(0,6),(1,4),(3,2),(4,3),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,3),(1,4),(1,6),(2,5),(3,2),(3,4),(3,6),(6,5)],7)=>([],1)
([(0,4),(0,5),(1,2),(2,3),(2,4),(2,5),(3,6),(4,6),(5,6)],7)=>([],1)
([(0,4),(4,6),(5,2),(5,3),(6,1),(6,5)],7)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(5,6)],7)=>([(0,1)],2)
([(0,6),(1,2),(1,5),(3,6),(4,3),(5,4)],7)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,6),(2,6),(4,5),(5,1),(5,2)],7)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(3,2),(4,3),(5,1)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(1,2),(1,5),(3,6),(4,6),(5,3)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(1,6),(2,6),(4,2),(5,1),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(4,6),(5,2),(5,3),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(2,3),(2,5),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(1,5),(2,3),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,4),(5,3),(6,5)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(1,6),(4,3),(5,2),(6,4),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,5),(4,3),(5,6),(6,2),(6,4)],7)=>([(0,1)],2)
([(1,3),(2,6),(3,5),(5,4),(5,6)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,4),(4,5),(5,2),(5,6),(6,3)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,4),(1,5),(5,6),(6,2),(6,3)],7)=>([(0,1)],2)
([(0,5),(4,3),(5,6),(6,1),(6,2),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(4,5),(5,2),(5,3),(5,6)],7)=>([(0,1)],2)
([(1,6),(3,5),(4,3),(5,2),(6,4)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(3,4),(4,6),(5,3),(6,1),(6,2)],7)=>([],1)
([(0,5),(1,6),(4,3),(5,4),(6,2)],7)=>([(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,5),(1,3),(3,6),(4,2),(5,4),(5,6)],7)=>([(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,3),(1,4),(2,6),(3,5),(4,2),(4,5),(5,6)],7)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(3,4),(4,1),(5,6),(6,2),(6,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(3,5),(4,3),(5,1),(6,2),(6,4)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,4),(3,6),(4,3),(5,2),(5,6)],7)=>([(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,5),(2,6),(3,4),(4,1),(4,6),(5,2),(5,3)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6)],7)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(1,6),(2,4),(3,5),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,6),(2,5),(3,4),(4,5),(4,6)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,4),(4,5),(4,6),(6,3)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(3,5),(3,6),(5,4),(6,4)],7)=>([(0,1)],2)
([(1,6),(2,3),(3,6),(4,5),(6,4)],7)=>([(0,1)],2)
([(1,6),(2,5),(3,4),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,3),(2,4),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(3,6),(5,2),(6,4),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(2,3),(3,6),(6,4),(6,5)],7)=>([(0,1)],2)
([(1,6),(2,5),(3,4),(4,6),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(2,3),(3,6),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(2,6),(6,3)],7)=>([(0,2),(0,3),(0,4),(1,5),(1,6),(2,7),(2,9),(3,7),(3,8),(4,1),(4,8),(4,9),(5,11),(6,11),(7,10),(8,5),(8,10),(9,6),(9,10),(10,11)],12)
([(0,4),(1,6),(5,3),(6,2),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(4,3),(5,2),(6,1),(6,4),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(4,3),(5,2),(5,4),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(3,5),(4,2),(4,3),(4,6),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,3),(2,4),(4,5),(4,6)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,6),(1,5),(2,3),(3,4),(3,5),(3,6)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,6),(1,4),(4,3),(4,6),(5,2),(6,5)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,5),(2,3),(3,4),(3,6),(6,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,5),(2,3),(3,4),(3,6),(4,5)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,4),(2,5),(3,5),(4,3),(4,6),(6,2)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,5),(2,3),(3,4),(3,5),(4,6),(5,6)],7)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(4,5),(5,2),(6,4)],7)=>([(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,5),(3,2),(4,1),(5,6),(6,3),(6,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(3,2),(4,5),(5,3),(5,6)],7)=>([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)
([(0,6),(1,4),(2,5),(3,2),(3,6),(4,3),(6,5)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(3,6),(4,1),(5,3),(6,2),(6,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(3,5),(4,3),(5,2),(5,6)],7)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(3,4),(4,1),(5,2),(6,3),(6,5)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(3,4),(4,2),(5,3),(5,6)],7)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(1,4),(2,5),(3,2),(4,3),(4,6),(6,5)],7)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(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)
([(0,6),(1,3),(2,4),(3,5),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(3,6),(4,3),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,5),(3,6),(4,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,5),(2,6),(3,6),(4,3),(5,1),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(1,3),(2,4),(3,6),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,4),(2,3),(3,5),(3,6),(4,5),(4,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(3,6),(4,2),(5,4),(6,5)],7)=>([(0,1)],2)
([(0,6),(1,5),(2,3),(3,6),(5,4),(6,5)],7)=>([(0,1)],2)
([(0,5),(1,3),(2,4),(3,6),(4,5),(5,6)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(2,4),(3,5),(4,6),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(2,6),(3,6),(4,3),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,5),(2,6),(3,6),(4,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,5),(1,6),(2,6),(3,6),(4,3),(5,1),(5,2),(5,4)],7)=>([(0,1)],2)
([(0,5),(1,4),(2,3),(4,6),(5,6)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,5),(1,3),(2,6),(3,6),(4,2),(5,4)],7)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,4),(1,6),(2,6),(3,2),(4,5),(5,1),(5,3)],7)=>([(0,1)],2)
([(0,5),(1,6),(2,6),(3,2),(4,1),(5,3),(5,4)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(2,3),(3,6),(4,6),(5,6)],7)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,4),(1,3),(3,6),(4,6),(5,2),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,4),(2,3),(3,6),(4,6),(6,5)],7)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,3),(2,4),(4,5),(5,6)],7)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(1,5),(2,6),(3,6),(5,2),(5,3)],7)=>([(0,1)],2)
([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,4),(1,6),(2,5),(3,5),(4,1),(4,2),(4,3),(5,6)],7)=>([],1)
([(0,6),(1,4),(2,5),(3,5),(4,2),(4,3),(4,6)],7)=>([(0,1)],2)
([(0,5),(1,4),(2,6),(3,6),(4,2),(4,3),(4,5),(5,6)],7)=>([(0,1)],2)
([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)=>([],1)
([(0,6),(1,4),(2,5),(3,5),(4,2),(4,3),(5,6)],7)=>([],1)
([(0,6),(1,5),(3,6),(4,2),(5,3),(5,4)],7)=>([(0,1)],2)
([(0,6),(1,4),(2,6),(3,5),(4,2),(4,3),(6,5)],7)=>([],1)
([(0,6),(1,4),(3,6),(4,3),(5,2),(6,5)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(3,4),(4,5),(5,6)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,6),(3,4),(4,2),(5,3)],7)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(1,6),(2,6),(3,5),(4,3),(5,1),(5,2)],7)=>([],1)
([(0,5),(1,4),(2,6),(3,6),(4,2),(5,3)],7)=>([(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,5),(1,6),(2,6),(3,4),(4,2),(5,1),(5,3)],7)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(2,3),(3,4),(4,5),(4,6)],7)=>([(0,2),(2,1)],3)
([(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)
([(0,7),(1,6),(2,7),(3,5),(4,3),(5,2),(6,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,3),(2,7),(3,7),(4,5),(5,2),(6,4)],8)=>([(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,5),(1,6),(2,7),(3,7),(4,3),(5,4),(6,2)],8)=>([(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,3),(1,6),(2,6),(3,5),(4,7),(5,4),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,7),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,7),(2,7),(3,7),(4,5),(5,6),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,7),(3,6),(4,5),(5,7),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,7),(2,7),(3,7),(4,6),(5,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,4),(3,5),(4,6),(5,7),(6,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,7),(1,6),(2,4),(3,7),(4,7),(5,3),(6,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,6),(2,6),(3,5),(4,5),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,6),(2,6),(3,4),(4,5),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(2,5),(3,7),(4,7),(5,3),(6,4)],8)=>([(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,7),(1,7),(2,7),(3,7),(4,6),(6,5),(7,4)],8)=>([],1)
([(0,4),(1,6),(2,5),(3,5),(3,6),(4,1),(4,2),(4,3),(5,7),(6,7)],8)=>([],1)
([(0,5),(1,7),(2,7),(3,6),(4,6),(5,1),(5,2),(7,3),(7,4)],8)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(2,7),(3,7),(4,6),(5,6),(6,7)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(2,7),(3,7),(4,7),(5,6),(7,6)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,5),(2,5),(3,6),(4,7),(5,7),(7,6)],8)=>([],1)
([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)=>([(0,1)],2)
([(0,6),(1,7),(2,7),(4,2),(5,1),(6,4),(6,5),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,1),(0,2),(0,3),(0,4),(1,6),(2,6),(3,5),(4,5),(5,7),(6,7)],8)=>([],1)
([(0,4),(0,5),(1,6),(2,6),(4,7),(5,7),(6,3),(7,1),(7,2)],8)=>([(0,1)],2)
([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(2,7),(3,6),(4,2),(4,6),(5,3),(5,4),(6,7),(7,1)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,7),(2,7),(4,2),(4,6),(5,1),(5,6),(6,7),(7,3)],8)=>([],1)
([(0,5),(0,6),(1,7),(2,7),(3,2),(4,1),(5,3),(6,4)],8)=>([(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,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)=>([],1)
([(0,4),(0,5),(0,6),(1,7),(2,7),(3,7),(4,3),(5,2),(6,1)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,7),(2,7),(3,4),(4,2),(5,3),(6,1)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,1),(0,2),(0,3),(0,4),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(6,5),(7,5)],8)=>([],1)
([(0,4),(2,5),(2,6),(3,5),(3,6),(4,2),(4,3),(5,7),(6,7),(7,1)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(5,4),(6,5),(7,5)],8)=>([],1)
([(0,7),(1,7),(2,7),(3,7),(4,6),(5,6),(7,4),(7,5)],8)=>([],1)
([(0,1),(0,2),(1,6),(1,7),(2,6),(2,7),(4,3),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,6),(2,5),(2,7),(3,5),(3,7),(4,2),(5,6),(7,1)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(6,5),(7,4)],8)=>([],1)
([(0,2),(0,7),(1,6),(1,7),(2,5),(2,6),(4,3),(5,3),(6,4),(7,4),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,1),(0,2),(0,3),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(5,4),(6,4),(7,4)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(5,4),(6,4),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(6,5),(7,5)],8)=>([],1)
([(0,1),(0,2),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,7),(2,7),(3,5),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(4,6),(5,4),(6,2),(6,3),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,7),(4,5),(4,6),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(4,2),(4,3),(5,2),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,2),(1,7),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4),(7,5),(7,6)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,7),(2,5),(2,6),(5,3),(5,4),(6,3),(6,4),(7,5),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,3),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(5,7),(6,2),(6,7),(7,3),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,5),(1,5),(1,7),(2,6),(2,7),(5,6),(6,3),(6,4),(7,3),(7,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,7),(5,6),(6,3),(6,4),(7,3),(7,4)],8)=>([],1)
([(0,4),(0,5),(0,7),(1,4),(1,5),(1,7),(4,6),(5,6),(6,2),(6,3),(7,2),(7,3)],8)=>([],1)
([(0,4),(0,5),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,2),(5,3)],8)=>([],1)
([(0,2),(0,5),(1,3),(1,4),(1,5),(2,3),(2,4),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,4),(0,5),(1,3),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,2)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,4),(4,7),(5,3),(6,2),(6,5),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,7),(3,7),(5,6),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,4),(1,5),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7),(7,3)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(5,6),(5,7),(7,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,2),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,3),(1,7),(3,5),(3,6),(5,4),(6,2),(6,4),(7,5),(7,6)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,7),(1,7),(2,5),(2,6),(5,4),(6,3),(6,4),(7,5),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,3),(1,4),(3,6),(3,7),(4,6),(4,7),(6,5),(7,2),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(6,4),(6,5),(7,3),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,3),(2,4),(5,4),(6,2),(6,5),(7,3),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,1),(0,3),(1,2),(1,7),(2,5),(2,6),(3,6),(3,7),(6,4),(7,4),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,2),(0,7),(1,6),(1,7),(2,5),(2,6),(5,4),(6,3),(6,4),(7,3),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(5,4),(6,3),(6,5),(7,3),(7,4)],8)=>([],1)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(3,2),(4,3),(4,7),(5,3),(5,7),(6,2),(6,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,7),(6,5)],8)=>([],1)
([(0,5),(0,6),(1,6),(1,7),(2,4),(2,5),(3,4),(3,5),(4,6),(4,7),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,3),(6,2),(6,4),(6,5),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,2),(1,7),(2,4),(2,5),(2,6),(5,3),(6,3),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,7),(1,7),(2,4),(2,5),(2,6),(5,3),(6,3),(7,4),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,2),(0,3),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(6,4),(7,4)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(6,4),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6),(4,7),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(1,7),(2,7),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,7),(2,7),(6,3),(6,4),(6,5),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,7),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,2),(0,7),(1,6),(1,7),(2,6),(6,3),(6,4),(6,5),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,3),(1,4),(2,3),(2,4),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(5,2),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,6),(1,4),(1,6),(4,5),(4,7),(6,5),(6,7),(7,2),(7,3)],8)=>([],1)
([(0,6),(0,7),(1,5),(2,5),(5,6),(5,7),(7,3),(7,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,5),(4,6),(4,7),(5,6),(5,7),(7,2),(7,3)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(6,2),(6,3),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,2),(0,7),(1,6),(1,7),(2,5),(2,6),(6,3),(6,4),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,2),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(6,3),(6,4),(7,3),(7,4)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(6,3),(6,4),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(0,4),(0,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(5,2),(6,3),(6,4),(6,5),(7,3),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(4,5),(4,6),(4,7),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(7,4)],8)=>([],1)
([(0,6),(5,7),(6,5),(7,1),(7,2),(7,3),(7,4)],8)=>([],1)
([(0,7),(1,7),(6,2),(6,3),(6,4),(6,5),(7,6)],8)=>([],1)
([(0,5),(0,6),(5,7),(6,7),(7,1),(7,2),(7,3),(7,4)],8)=>([],1)
([(0,7),(1,2),(2,7),(7,3),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,7),(1,7),(2,7),(7,3),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,1),(1,2),(1,3),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(6,2),(6,3),(6,4),(6,5),(7,2),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,1),(0,3),(1,2),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,7),(1,2),(1,7),(2,3),(2,4),(2,5),(2,6),(7,3),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,7),(1,7),(2,3),(2,4),(2,5),(2,6),(7,3),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,1),(0,2),(0,3),(1,4),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(6,3),(6,4),(6,5),(7,2),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(6,3),(6,4),(7,2),(7,3),(7,4)],8)=>([],1)
([(0,4),(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([],1)
([(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(6,2),(6,3),(7,2),(7,3)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,6),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(1,4),(1,5),(1,6),(1,7),(3,4),(3,5),(3,6),(3,7),(7,2)],8)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(0,6),(4,7),(5,7),(6,1),(6,7)],8)=>([(0,1)],2)
([(2,7),(3,7),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,3),(0,4),(0,5),(0,6),(0,7),(1,3),(1,4),(1,5),(1,6),(1,7),(2,3),(2,4),(2,5),(2,6),(2,7)],8)=>([],1)
([(0,2),(0,7),(1,3),(1,4),(1,5),(1,6),(1,7),(2,3),(2,4),(2,5),(2,6)],8)=>([],1)
([(0,1),(0,2),(0,3),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(0,6),(0,7),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7)],8)=>([],1)
([(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(1,6),(1,7),(2,3),(2,4),(2,5),(2,6),(2,7)],8)=>([],1)
([(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(0,6),(0,7),(7,1)],8)=>([(0,1)],2)
([(0,7),(1,2),(1,3),(1,4),(1,5),(1,6),(1,7)],8)=>([(0,1)],2)
([(3,7),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(5,7),(6,7)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(0,7)],8)=>([],1)
([],8)=>([],1)
([(0,3),(1,2),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,7),(1,6),(1,7),(2,3),(2,7),(3,6),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,5),(2,3),(2,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,4),(1,6),(2,3),(2,4),(3,6),(3,7),(4,5),(4,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,3),(1,7),(2,6),(2,7),(3,5),(3,6),(6,4),(7,4),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(1,3),(2,4),(3,5),(3,7),(4,6),(4,7),(5,6)],8)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,7),(1,3),(2,4),(3,5),(3,7),(4,6),(4,7),(5,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(0,7),(1,3),(2,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(1,5),(2,3),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(2,6),(2,7),(3,6),(3,7),(4,2),(5,3)],8)=>([(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,3),(0,7),(1,2),(1,6),(2,7),(3,6),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,4),(0,5),(1,6),(2,6),(4,7),(5,7),(6,3),(7,1),(7,2)],8)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(3,4),(3,5),(6,3),(7,2)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,2),(0,4),(1,3),(1,4),(1,5),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,5),(1,3),(1,4),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,2)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(4,7),(5,6)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(4,7),(5,6)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,6),(2,7),(3,4),(3,7),(4,5),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,6),(2,7),(3,4),(3,7),(4,5),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,4),(2,3),(2,7),(3,5),(4,7),(5,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(0,7),(1,4),(2,3),(2,6),(3,7),(4,5),(4,7),(5,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(1,2),(1,4),(2,7),(3,6),(4,6),(4,7),(5,3),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,2),(1,5),(1,6),(2,7),(3,5),(3,7),(5,4),(6,4),(6,7)],8)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(1,4),(1,5),(1,6),(2,3),(4,7),(5,2),(5,7),(6,3),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(6,2),(6,3),(7,3),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,7),(1,2),(1,6),(1,7),(3,5),(3,6),(6,4),(7,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,2),(1,4),(3,6),(4,6),(4,7),(5,3),(5,7)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,4),(2,3),(2,6),(2,7),(4,5),(4,7),(5,6)],8)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,6),(0,7),(1,3),(1,7),(2,4),(2,7),(4,5),(5,6)],8)=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)
([(0,6),(0,7),(1,3),(2,4),(2,6),(4,5),(5,7)],8)=>([(0,4),(0,5),(1,9),(1,10),(2,8),(2,10),(3,7),(4,6),(5,1),(5,2),(5,6),(6,8),(6,9),(8,11),(9,11),(10,3),(10,11),(11,7)],12)
([(2,6),(2,7),(3,4),(3,6),(4,5),(5,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(2,4),(3,5),(5,6),(6,7)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(1,4),(2,7),(6,3),(7,6)],8)=>([(0,3),(0,4),(0,5),(1,6),(1,7),(2,1),(2,9),(2,10),(3,8),(3,12),(4,8),(4,11),(5,2),(5,11),(5,12),(6,14),(7,14),(8,13),(9,6),(9,15),(10,7),(10,15),(11,9),(11,13),(12,10),(12,13),(13,15),(15,14)],16)
([(0,7),(1,6),(2,4),(2,7),(5,3),(6,5)],8)=>([(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,7),(1,4),(1,6),(5,3),(6,2),(7,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(0,7),(1,2),(1,3),(1,6),(3,7),(4,6),(5,4)],8)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,5),(0,7),(1,4),(1,6),(1,7),(5,6),(6,3),(7,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,3),(6,4),(7,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(5,2),(6,4),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(1,4),(1,6),(1,7),(3,7),(4,5),(6,5),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,7),(1,2),(1,3),(1,6),(2,7),(3,7),(4,6),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(1,4),(3,7),(4,7),(5,2),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,4),(4,7),(5,3),(6,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,4),(1,7),(2,7),(3,7),(4,6),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(2,7),(3,7),(4,6),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,7),(5,4),(6,5),(7,3)],8)=>([(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,7),(1,7),(2,6),(5,3),(6,5),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(4,2),(5,3),(6,4),(7,5)],8)=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16)
([(0,5),(0,7),(1,4),(1,6),(2,7),(3,6),(4,2),(5,3)],8)=>([(0,5),(0,6),(1,9),(2,8),(3,10),(4,11),(5,3),(5,13),(6,4),(6,13),(8,7),(9,7),(10,2),(10,12),(11,1),(11,12),(12,8),(12,9),(13,10),(13,11)],14)
([(0,5),(0,7),(1,4),(1,6),(4,7),(5,6),(6,2),(7,3)],8)=>([(0,3),(0,4),(1,10),(2,9),(3,7),(4,7),(5,2),(5,8),(6,1),(6,8),(7,5),(7,6),(8,9),(8,10),(9,11),(10,11)],12)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,2),(6,4),(7,5)],8)=>([(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),(0,7),(1,6),(1,7),(2,5),(3,4),(6,3),(6,5),(7,2),(7,4)],8)=>([(0,5),(1,7),(2,7),(3,6),(4,6),(5,1),(5,2),(7,3),(7,4)],8)
([(0,3),(0,7),(1,2),(1,6),(2,4),(2,7),(3,5),(3,6),(6,4),(7,5)],8)=>([(0,5),(0,6),(1,7),(2,7),(3,8),(4,8),(5,9),(6,9),(8,1),(8,2),(9,3),(9,4)],10)
([(0,5),(1,4),(2,7),(3,6),(4,2),(4,6),(5,3),(5,7)],8)=>([(0,5),(0,6),(1,10),(2,9),(3,7),(4,7),(5,2),(5,8),(6,1),(6,8),(8,9),(8,10),(9,11),(10,11),(11,3),(11,4)],12)
([(0,5),(0,7),(1,5),(1,7),(2,3),(3,4),(3,6),(4,7),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,6),(2,3),(2,7),(3,4),(4,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,7),(2,4),(2,6),(3,5),(4,7),(5,6)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(1,4),(1,7),(2,3),(2,6),(3,7),(4,5),(5,6)],8)=>([(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)
([(1,6),(1,7),(2,3),(2,6),(3,7),(6,5),(7,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(1,5),(1,7),(2,3),(2,5),(3,7),(5,6),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,6),(1,7),(2,4),(2,7),(4,6),(6,5),(7,3)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,5),(1,7),(2,3),(2,7),(3,5),(3,6),(5,4),(7,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,6),(3,7),(6,5),(7,4)],8)=>([(0,1)],2)
([(0,5),(1,4),(4,6),(4,7),(5,6),(5,7),(6,3),(7,2)],8)=>([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,2),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,4),(1,3),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7),(7,2)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(2,6),(3,5),(3,7),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(2,6),(2,7),(3,5),(5,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,5),(1,6),(1,7),(2,3),(2,5),(2,7),(3,6),(6,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(1,5),(1,6),(1,7),(2,3),(2,5),(2,6),(3,7),(7,4)],8)=>([(0,2),(2,1)],3)
([(1,4),(1,6),(2,3),(2,6),(2,7),(4,5),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,6),(1,7),(2,3),(2,6),(3,4),(4,7)],8)=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,3),(2,7),(3,4),(4,6)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,4),(3,7),(4,6)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,4),(3,6),(4,3),(4,7),(5,2),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,3),(0,7),(1,2),(1,6),(2,5),(2,7),(3,4),(3,5),(3,6),(7,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(3,5),(6,3),(6,4),(7,2),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(5,4),(6,5),(7,2),(7,3)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,3),(1,5),(1,6),(3,7),(4,5),(4,6),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,7),(1,4),(1,6),(3,7),(4,3),(5,2),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,7),(5,4),(6,5),(7,2),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,6),(1,7),(2,6),(2,7),(3,5),(5,4)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(1,7),(2,4),(2,5),(6,3),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,7),(1,5),(1,6),(1,7),(3,6),(4,3),(5,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,6),(0,7),(1,3),(1,5),(1,6),(3,7),(4,5),(7,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(2,3),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(0,6),(1,3),(1,5),(1,6),(1,7),(4,7),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,7),(1,2),(1,3),(1,6),(1,7),(4,6),(5,4)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,4),(1,5),(6,2),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(4,5),(5,7),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,6),(2,4),(2,5),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(2,4),(2,5),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(2,5),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,7),(1,6),(2,5),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,5),(2,4),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,6),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(2,7),(3,6),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,7),(2,6),(3,6),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(4,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,4),(3,6),(4,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(1,2),(1,4),(2,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,4),(0,5),(1,2),(1,4),(1,5),(2,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,2),(1,3),(1,4),(1,5),(2,7),(3,6),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,6),(0,7),(1,2),(1,6),(1,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,3),(0,5),(1,2),(1,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,6),(3,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,4),(3,6)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(4,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,6),(2,5),(3,4)],8)=>([(0,1),(0,2),(0,3),(0,4),(1,8),(1,9),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,9),(4,5),(4,6),(4,8),(5,11),(5,14),(6,11),(6,12),(7,11),(7,13),(8,12),(8,14),(9,13),(9,14),(10,12),(10,13),(11,15),(12,15),(13,15),(14,15)],16)
([(0,7),(1,6),(2,4),(2,6),(3,5),(3,7)],8)=>([(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,5),(0,7),(1,4),(1,6),(6,2),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(0,7),(1,2),(1,4),(1,6),(4,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(6,3),(7,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(6,3),(7,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(4,3),(5,3),(6,2),(7,2)],8)=>([],1)
([(0,3),(0,6),(0,7),(1,2),(1,6),(1,7),(2,4),(3,5),(6,4),(7,5)],8)=>([],1)
([(0,4),(0,5),(0,7),(1,2),(1,3),(1,6),(2,7),(3,7),(4,6),(5,6)],8)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(2,6),(3,6),(4,7),(5,7)],8)=>([],1)
([(0,7),(1,6),(2,4),(3,5),(4,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,7),(2,7),(3,6),(4,6),(5,6)],8)=>([],1)
([(2,7),(3,7),(4,6),(5,6)],8)=>([],1)
([(2,5),(3,4),(4,6),(5,7)],8)=>([(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,6),(2,7),(3,7),(6,5),(7,4)],8)=>([],1)
([(0,5),(0,7),(1,5),(1,7),(2,4),(2,6),(3,4),(3,6),(4,7),(5,6)],8)=>([],1)
([(0,5),(1,4),(2,4),(2,7),(3,5),(3,6),(4,6),(5,7)],8)=>([],1)
([(0,7),(1,6),(2,5),(2,6),(3,4),(3,7),(4,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,5),(2,7),(3,4),(3,6),(4,7),(5,6)],8)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(2,6),(2,7),(3,6),(3,7),(6,5),(7,4)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,7),(1,6),(2,4),(2,5),(3,4),(3,5),(4,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,6),(2,7),(3,6),(3,7),(6,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,4),(3,6),(6,5),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(6,5),(7,4)],8)=>([],1)
([(0,3),(1,2),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,5),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(2,5),(2,6),(2,7),(3,4),(3,6),(3,7)],8)=>([],1)
([(0,5),(1,4),(2,4),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,7),(1,4),(1,6),(2,4),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(2,6),(2,7),(3,4),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,5),(1,4),(4,2),(4,6),(4,7),(5,3),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,7),(1,2),(1,6),(2,4),(2,5),(2,7),(3,4),(3,5),(3,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(6,3),(6,4),(6,5),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(6,4),(6,5),(7,2),(7,3)],8)=>([],1)
([(0,3),(0,6),(0,7),(1,2),(1,4),(1,5),(2,6),(2,7),(3,4),(3,5)],8)=>([],1)
([(0,5),(0,7),(1,4),(1,6),(4,2),(4,7),(5,3),(5,6)],8)=>([],1)
([(0,7),(1,6),(6,2),(6,3),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,4),(1,5),(2,4),(2,5),(3,6),(3,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,6),(2,7),(3,4),(3,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(4,2),(5,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,5),(0,6),(0,7),(1,2),(1,4),(1,6),(1,7),(2,5),(3,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(0,5),(0,6),(0,7),(1,2),(1,4),(1,5),(1,6),(1,7)],8)=>([],1)
([(0,4),(0,5),(0,6),(0,7),(1,2),(1,3),(1,6),(1,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,2),(1,3),(1,4)],8)=>([],1)
([(0,2),(0,7),(3,4),(4,6),(5,3),(6,1),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,2),(0,6),(2,7),(3,5),(4,3),(5,1),(6,4),(6,7)],8)=>([(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),(0,7),(3,5),(4,3),(5,2),(6,4),(7,1)],8)=>([(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,2),(0,5),(2,6),(3,4),(3,7),(4,1),(5,3),(5,6),(6,7)],8)=>([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)
([(0,5),(0,6),(3,4),(4,2),(5,3),(5,7),(6,1),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(3,4),(4,1),(5,2),(6,5),(7,3)],8)=>([(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,4),(0,5),(3,2),(3,7),(4,3),(4,6),(5,1),(5,6),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,7),(3,2),(4,3),(4,6),(5,1),(5,6),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(3,2),(4,1),(5,3),(5,7),(6,4),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(1,7),(2,6),(3,2),(3,5),(4,1),(4,5),(5,6),(5,7)],8)=>([],1)
([(0,6),(1,5),(2,7),(7,3),(7,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,3),(2,4),(2,6),(4,5),(4,7)],8)=>([(0,1)],2)
([(0,4),(1,5),(1,6),(5,3),(5,7),(6,2),(6,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,3),(1,4),(1,7),(3,5),(3,6),(4,2),(4,5)],8)=>([],1)
([(0,3),(0,4),(0,5),(3,6),(3,7),(4,2),(4,6),(5,1),(5,7)],8)=>([],1)
([(0,2),(0,3),(0,4),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(4,1),(4,7)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,3),(1,6),(2,4),(2,5),(2,7),(3,4),(3,5),(3,7)],8)=>([],1)
([(0,4),(1,2),(1,3),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,3),(2,4),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,6),(2,7),(3,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,7),(2,3),(7,4),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,5),(1,6),(6,7),(7,2),(7,3),(7,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,7),(4,5),(5,2),(5,3),(5,6)],8)=>([],1)
([(0,4),(0,5),(4,6),(5,1),(5,7),(6,2),(6,3),(6,7)],8)=>([],1)
([(0,2),(0,4),(2,5),(2,6),(2,7),(3,1),(3,6),(3,7),(4,3),(4,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,3),(3,4),(3,5),(4,2),(4,6),(4,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(2,7),(6,3),(6,4),(6,5)],8)=>([],1)
([(0,7),(1,5),(1,7),(2,5),(2,6),(7,3),(7,4),(7,6)],8)=>([],1)
([(0,4),(0,7),(1,5),(1,6),(1,7),(2,3),(2,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,7),(1,4),(1,6),(2,3),(2,6),(2,7),(3,4),(3,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,3),(1,4),(3,5),(3,6),(3,7),(4,2),(4,7)],8)=>([],1)
([(0,7),(1,5),(1,7),(5,4),(5,6),(7,2),(7,3),(7,6)],8)=>([],1)
([(0,3),(0,7),(1,6),(1,7),(3,4),(3,5),(3,6),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,5),(3,2),(3,6),(3,7),(4,1),(4,6),(4,7),(5,3),(5,4)],8)=>([],1)
([(0,4),(0,6),(0,7),(1,2),(1,3),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,2),(1,4),(1,5),(1,6),(1,7),(2,3),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,4),(1,5),(1,6),(1,7),(2,3),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(2,3),(2,5),(3,4),(3,6),(3,7)],8)=>([],1)
([(0,1),(0,2),(0,3),(1,5),(1,6),(1,7),(2,4),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(2,5),(2,6),(3,4),(3,7)],8)=>([],1)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,3),(2,7),(3,4),(3,6)],8)=>([],1)
([(0,3),(1,6),(1,7),(2,6),(2,7),(3,4),(3,5)],8)=>([(0,1)],2)
([(0,3),(1,4),(1,6),(1,7),(3,5),(3,6),(3,7),(4,2),(4,5)],8)=>([],1)
([(0,4),(1,5),(1,6),(2,7),(3,7),(5,3),(6,2)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,6),(0,7),(1,4),(1,5),(1,6),(2,7),(3,7),(4,3),(5,2)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,2),(0,3),(0,4),(1,7),(2,5),(2,6),(3,5),(3,6),(4,1),(5,7),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,2),(1,3),(1,6),(2,4),(2,5),(3,4),(3,5),(4,7),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,7),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,3),(2,5),(5,6),(5,7),(7,4)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,7),(2,5),(6,3),(6,4),(7,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,3),(4,6),(5,4),(6,2),(7,5)],8)=>([(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,6),(0,7),(1,5),(1,7),(2,6),(3,4),(4,2),(5,3)],8)=>([(0,6),(2,9),(3,7),(4,2),(4,8),(5,4),(5,7),(6,3),(6,5),(7,8),(8,9),(9,1)],10)
([(0,2),(0,4),(1,5),(2,5),(2,6),(3,1),(4,3),(4,6),(5,7),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(0,7),(1,5),(3,7),(4,3),(5,4),(5,6),(7,2)],8)=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)
([(0,4),(0,7),(1,4),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(4,3)],8)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,5),(2,7),(3,4),(3,7),(6,3)],8)=>([(0,1)],2)
([(0,3),(0,5),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(7,4)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(0,7),(1,5),(1,7),(2,3),(2,5),(2,6),(3,4),(4,7)],8)=>([(0,5),(2,7),(2,8),(3,6),(3,8),(4,6),(4,7),(5,2),(5,3),(5,4),(6,9),(7,9),(8,9),(9,1)],10)
([(0,6),(0,7),(1,3),(1,4),(2,5),(3,6),(3,7),(4,2),(7,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,4),(1,7),(3,6),(4,3),(5,2),(5,6),(7,5)],8)=>([(0,6),(2,9),(3,7),(4,2),(4,8),(5,4),(5,7),(6,3),(6,5),(7,8),(8,9),(9,1)],10)
([(0,3),(0,6),(1,6),(1,7),(2,4),(2,5),(3,4),(3,7),(6,2),(7,5)],8)=>([(0,5),(2,7),(3,7),(4,1),(5,6),(6,2),(6,3),(7,4)],8)
([(0,2),(0,3),(1,4),(1,7),(2,6),(2,7),(3,4),(3,6),(3,7),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(1,7),(2,4),(4,5),(4,6),(4,7),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,4),(3,6),(3,7),(4,3),(5,2),(7,5)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,4),(4,6),(4,7),(6,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(3,6),(4,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(2,5),(2,6),(3,4),(4,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(1,5),(1,7),(3,6),(4,6),(4,7),(5,3),(7,2)],8)=>([(0,4),(0,6),(1,10),(2,9),(3,7),(4,8),(5,3),(5,11),(6,1),(6,8),(7,9),(8,5),(8,10),(10,11),(11,2),(11,7)],12)
([(0,3),(0,7),(1,2),(1,7),(2,5),(3,6),(5,4),(6,4),(7,5),(7,6)],8)=>([],1)
([(0,4),(0,7),(1,2),(1,3),(2,5),(3,5),(3,7),(5,6),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,7),(1,4),(1,7),(2,6),(4,2),(4,5),(5,6),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,7),(1,4),(1,7),(3,5),(4,2),(4,6),(7,5),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,4),(1,7),(3,2),(3,6),(4,3),(4,5),(5,6),(7,5)],8)=>([(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,7),(1,3),(1,4),(3,5),(3,7),(4,2),(4,5),(5,6),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,4),(2,6),(2,7),(3,5),(4,2),(4,5),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,4),(2,6),(3,5),(3,7),(4,2),(4,5),(5,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,2),(1,3),(2,5),(3,5),(3,6),(4,6),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,3),(1,4),(1,7),(2,6),(3,7),(4,2),(4,5),(5,6),(7,5)],8)=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)
([(0,6),(1,3),(1,7),(2,6),(2,7),(3,5),(6,4),(7,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,3),(2,7),(3,5),(3,6),(5,4),(6,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,2),(1,3),(2,5),(3,5),(3,7),(4,6),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,3),(1,7),(2,7),(3,6),(4,2),(5,4),(7,6)],8)=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)
([(0,5),(1,5),(1,6),(2,3),(3,4),(4,6),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,4),(2,3),(3,6),(4,7),(6,5),(7,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,7),(2,5),(3,4),(7,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(1,7),(2,5),(2,6),(3,4),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,5),(2,5),(2,6),(3,4),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,5),(1,4),(1,7),(2,5),(2,6),(3,4),(3,6),(5,7),(6,7)],8)=>([],1)
([(0,5),(1,4),(2,4),(2,6),(3,5),(3,6),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(3,4),(3,5),(3,6),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,7),(3,4),(3,5),(3,6),(5,7),(6,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(7,4)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,4),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,4),(5,6),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,5),(2,6),(3,5),(3,7),(4,6),(7,4)],8)=>([],1)
([(0,7),(1,7),(2,5),(3,5),(3,7),(4,6),(5,6),(7,4)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(3,6),(4,5),(6,5),(7,4)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(3,6),(5,4),(7,5)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(3,5),(3,6),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,7),(2,5),(2,7),(3,5),(3,6),(7,4),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(7,4)],8)=>([],1)
([(0,5),(0,7),(1,4),(1,7),(2,4),(2,6),(3,5),(3,6),(6,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(3,4),(3,6),(3,7),(4,5),(7,5)],8)=>([],1)
([(0,7),(1,7),(2,5),(3,5),(3,7),(5,6),(7,4),(7,6)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(3,6),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,6),(2,6),(2,7),(3,6),(3,7),(5,4),(6,5),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(6,4),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,5),(3,6),(3,7),(6,4)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,7),(6,4)],8)=>([],1)
([(0,5),(0,7),(1,4),(1,7),(2,4),(2,5),(2,7),(3,4),(3,5),(3,7),(4,6),(5,6),(7,6)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(3,4),(3,5),(3,6),(4,7)],8)=>([],1)
([(0,5),(1,4),(1,7),(2,5),(2,7),(3,4),(3,6),(3,7),(5,6)],8)=>([],1)
([(0,7),(1,7),(2,5),(2,6),(3,5),(3,6),(7,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,5),(3,7),(5,6),(7,4)],8)=>([],1)
([(0,6),(1,5),(2,5),(2,7),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,5),(1,3),(1,6),(1,7),(2,6),(4,2),(5,4),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(1,7),(2,3),(2,7),(3,5),(5,6),(6,4)],8)=>([(0,2),(2,1)],3)
([(2,4),(2,7),(5,6),(6,3),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(1,7),(2,4),(2,6),(4,7),(6,3),(6,5),(7,5)],8)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(1,6),(1,7),(2,3),(2,6),(3,7),(4,5),(6,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,7),(1,5),(1,7),(4,3),(5,2),(5,6),(7,4),(7,6)],8)=>([(0,1)],2)
([(1,5),(2,4),(2,7),(5,7),(6,3),(7,6)],8)=>([(0,2),(0,3),(2,6),(3,6),(4,1),(5,4),(6,5)],7)
([(2,4),(3,7),(4,6),(5,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(4,5),(5,3),(6,4),(7,2)],8)=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15)
([(1,4),(2,3),(2,6),(3,7),(4,6),(4,7),(6,5)],8)=>([(0,3),(0,4),(1,6),(2,6),(3,7),(4,7),(5,1),(5,2),(7,5)],8)
([(0,6),(0,7),(1,2),(1,4),(1,7),(3,6),(4,3),(4,5),(7,5)],8)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,7),(1,5),(2,3),(2,4),(2,6),(3,7),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,6),(2,4),(4,7),(5,3),(5,7),(6,5)],8)=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)
([(0,7),(1,6),(2,4),(2,7),(3,7),(5,3),(6,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,3),(1,6),(1,7),(4,5),(5,2),(6,4)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(1,7),(2,4),(5,6),(6,3),(7,5)],8)=>([(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)
([(1,7),(3,4),(4,6),(5,3),(6,2),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,7),(1,5),(1,6),(2,5),(2,6),(3,7),(4,7),(5,3),(5,4),(6,3),(6,4)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(2,3),(3,5),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(1,6),(1,7),(2,6),(2,7),(3,4),(4,6),(4,7),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,5),(2,6),(3,4),(3,6),(4,5),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,5),(2,6),(3,4),(3,5),(4,6),(5,7),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(2,5),(2,7),(3,4),(3,5),(4,7),(5,6),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,7),(2,6),(2,7),(3,1),(3,6),(4,2),(5,3)],8)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(1,6),(2,4),(3,5),(4,7),(5,6),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,4),(1,6),(2,3),(2,5),(3,6),(4,5),(5,7),(6,7)],8)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,7),(1,5),(1,6),(2,5),(2,6),(3,7),(4,7),(5,4),(6,3)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,7),(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,7),(4,7),(5,7),(6,3)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,5),(2,4),(2,5),(2,6),(3,6),(4,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,4),(2,5),(3,7),(4,7),(5,7),(6,3)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,7),(3,6),(4,5),(5,6),(6,7)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,5),(1,6),(2,6),(2,7),(3,6),(3,7),(4,1),(4,7),(5,4)],8)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,5),(1,6),(2,7),(3,6),(3,7),(4,1),(5,4),(5,7)],8)=>([(0,2),(2,1)],3)
([(2,7),(3,6),(4,6),(5,7),(6,5)],8)=>([],1)
([(0,7),(1,6),(2,6),(3,4),(5,7),(6,5)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,5),(3,4),(3,7),(5,6),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(4,7),(5,6),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,4),(1,5),(2,3),(2,5),(2,7),(4,7),(5,6),(7,6)],8)=>([],1)
([(0,5),(1,4),(1,6),(1,7),(2,4),(2,6),(2,7),(5,3),(6,5),(7,3)],8)=>([],1)
([(0,2),(1,6),(1,7),(2,3),(2,7),(3,5),(3,6),(6,4),(7,4),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,7),(1,3),(1,7),(2,6),(3,4),(4,2),(4,5),(7,5),(7,6)],8)=>([(0,6),(2,8),(3,7),(4,2),(4,7),(5,1),(6,3),(6,4),(7,8),(8,5)],9)
([(0,6),(0,7),(1,3),(1,4),(2,6),(3,6),(3,7),(4,5),(5,2),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,5),(2,6),(3,6),(3,7),(4,2),(5,4),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,3),(1,5),(2,6),(3,6),(3,7),(4,2),(5,4),(5,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,2),(0,3),(0,5),(1,7),(3,6),(3,7),(4,1),(5,4),(5,6)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,6),(0,7),(4,5),(5,2),(6,4),(7,1)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(1,6),(1,7),(4,5),(5,3),(6,4),(7,2)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,3),(1,6),(3,7),(4,5),(5,2),(6,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(1,7),(4,5),(5,2),(6,4),(7,3)],8)=>([(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,6),(0,7),(1,4),(1,7),(2,6),(3,2),(4,3),(4,5),(7,5)],8)=>([(0,6),(1,8),(2,9),(3,10),(4,7),(5,3),(5,9),(6,2),(6,5),(7,8),(9,4),(9,10),(10,1),(10,7)],11)
([(0,6),(0,7),(1,5),(2,6),(5,2),(5,7),(6,3),(7,4)],8)=>([(0,5),(1,8),(2,7),(3,6),(4,1),(4,7),(5,3),(6,2),(6,4),(7,8)],9)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(4,5),(6,3),(7,4)],8)=>([],1)
([(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(7,3)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,5),(1,6),(2,4),(2,6),(2,7),(5,7),(7,3)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,6),(2,3),(2,4),(2,7),(5,7),(6,5)],8)=>([],1)
([(0,7),(1,3),(1,4),(5,6),(6,2),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(3,4),(4,7),(6,5),(7,6)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,3),(0,6),(2,7),(3,7),(4,5),(5,1),(6,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,6),(4,5),(5,3),(6,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,6),(2,3),(2,7),(3,5),(4,7),(6,4)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,5),(1,7),(2,4),(2,6),(4,7),(5,6),(6,3)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(6,4),(7,3)],8)=>([],1)
([(0,5),(1,6),(1,7),(2,6),(2,7),(5,4),(6,5),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,7),(2,3),(2,5),(3,7),(4,5),(4,6),(7,6)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(1,3),(2,4),(3,5),(3,7),(4,6),(6,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,5),(1,7),(2,5),(2,7),(3,4),(4,6),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,6),(2,5),(3,5),(3,7),(4,7),(6,4)],8)=>([],1)
([(1,6),(2,6),(3,4),(3,7),(5,7),(6,5)],8)=>([(0,1)],2)
([(0,4),(0,5),(1,6),(2,7),(3,2),(4,3),(4,6),(5,1),(5,7)],8)=>([(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,4),(0,5),(1,6),(4,6),(4,7),(5,1),(5,7),(6,2),(7,3)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(1,6),(2,5),(2,7),(3,5),(3,6),(6,7),(7,4)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,5),(3,5),(3,7),(5,6),(6,4)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,5),(2,6),(3,4),(3,6),(4,7),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,5),(5,6),(5,7),(7,4)],8)=>([(0,1)],2)
([(0,7),(1,5),(2,4),(4,6),(4,7),(5,6),(5,7),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,4),(1,5),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7),(7,3)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,4),(4,6),(4,7),(5,6),(5,7),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(1,4),(2,5),(2,7),(3,6),(3,7),(4,6),(4,7),(6,5)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,5),(2,7),(3,5),(3,7),(5,6),(6,4)],8)=>([],1)
([(1,6),(1,7),(2,5),(2,7),(3,5),(3,7),(5,6),(6,4)],8)=>([],1)
([(0,3),(0,4),(2,7),(3,5),(3,6),(3,7),(4,2),(4,5),(4,6),(7,1)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(2,7),(3,2),(4,3),(4,6),(5,1),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,3),(2,6),(2,7),(3,5),(3,6),(4,7),(5,4)],8)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,3),(1,7),(2,6),(2,7),(3,5),(3,7),(4,6),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,6),(1,7),(2,6),(2,7),(3,5),(4,6),(5,4),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,3),(2,6),(3,6),(3,7),(4,2),(4,7),(5,4)],8)=>([(0,3),(0,6),(2,8),(3,7),(4,2),(4,9),(5,1),(6,4),(6,7),(7,9),(8,5),(9,8)],10)
([(0,7),(1,7),(2,3),(2,6),(3,4),(3,5),(6,5),(7,4),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,4),(1,7),(2,4),(2,7),(3,6),(4,5),(4,6),(7,3),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,7),(3,4),(5,6),(7,3)],8)=>([],1)
([(0,5),(0,7),(1,5),(1,7),(2,4),(2,6),(4,7),(5,6),(6,3)],8)=>([(0,1)],2)
([(0,5),(1,3),(1,7),(2,7),(3,6),(4,2),(5,4),(5,6)],8)=>([(0,4),(0,6),(1,9),(2,10),(3,8),(4,7),(5,2),(5,11),(6,5),(6,7),(7,11),(8,9),(10,1),(10,8),(11,3),(11,10)],12)
([(0,3),(1,6),(1,7),(3,7),(4,5),(5,2),(6,4)],8)=>([(0,5),(0,6),(1,4),(1,13),(2,11),(3,9),(4,3),(4,12),(5,10),(6,1),(6,10),(8,7),(9,7),(10,2),(10,13),(11,8),(12,8),(12,9),(13,11),(13,12)],14)
([(0,7),(1,7),(2,6),(2,7),(4,5),(5,3),(6,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,7),(2,6),(2,7),(4,5),(5,3),(6,4)],8)=>([(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),(0,7),(4,5),(5,3),(6,4),(7,1),(7,2)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,3),(1,7),(5,6),(6,2),(7,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,6),(0,7),(1,3),(1,7),(4,5),(5,2),(6,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,7),(1,5),(1,7),(2,4),(2,6),(2,7),(5,6),(6,3)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,4),(3,7),(4,3),(4,5),(4,6),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,4),(1,7),(2,6),(3,2),(4,3),(4,5)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(1,6),(1,7),(3,4),(4,2),(5,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,3),(1,4),(1,7),(5,6),(6,2),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,4),(0,7),(5,6),(6,1),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(0,3),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,3),(1,6),(1,7),(3,2),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,3),(0,7),(1,6),(1,7),(3,6),(6,2),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,3),(0,7),(1,6),(1,7),(3,4),(3,6),(5,2),(6,5),(7,4),(7,5)],8)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6),(5,7),(6,7)],8)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,4),(1,5),(3,7),(4,6),(4,7),(5,3),(5,6),(7,2)],8)=>([(0,3),(0,6),(1,8),(3,7),(4,2),(5,4),(6,1),(6,7),(7,8),(8,5)],9)
([(0,3),(1,4),(2,5),(2,6),(2,7),(3,5),(3,6),(3,7),(4,2)],8)=>([],1)
([(0,3),(0,7),(1,4),(2,5),(2,6),(2,7),(3,5),(3,6),(4,2)],8)=>([],1)
([(0,5),(1,3),(3,6),(3,7),(4,2),(4,6),(4,7),(5,4)],8)=>([],1)
([(0,7),(1,4),(1,7),(3,5),(3,6),(4,2),(4,3),(7,5),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(0,5),(1,6),(1,7),(2,6),(2,7),(4,2),(5,1)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(3,6),(3,7),(4,6),(4,7),(5,1)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,5),(3,6),(3,7),(4,6),(4,7),(5,2),(5,3)],8)=>([],1)
([(0,3),(1,6),(1,7),(2,6),(2,7),(3,5),(5,4),(5,6),(5,7)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,4),(4,5),(4,6),(4,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,4),(4,5),(4,6),(4,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,5),(3,7),(5,6),(6,4)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,4),(3,7),(4,6),(6,5),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,5),(1,7),(2,3),(2,7),(3,4),(4,5),(5,6),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(1,7),(2,3),(2,7),(3,4),(4,5),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,5),(1,6),(1,7),(2,3),(3,4),(3,7),(4,5),(4,6)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(1,7),(2,6),(2,7),(3,5),(3,7),(5,4),(5,6)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,7),(1,4),(1,5),(3,6),(4,6),(4,7),(5,2),(5,3),(5,7)],8)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,6),(3,7),(4,6),(4,7),(5,1),(5,7)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(1,6),(4,6),(4,7),(5,1),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(1,5),(3,6),(4,6),(4,7),(5,2),(5,3),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,3),(2,6),(2,7),(3,5),(3,6),(5,4),(5,7)],8)=>([],1)
([(1,5),(1,6),(1,7),(2,3),(3,4),(3,7),(4,5),(4,6)],8)=>([],1)
([(1,6),(1,7),(2,4),(2,6),(4,5),(5,7),(7,3)],8)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(1,5),(1,6),(2,3),(2,5),(3,4),(4,6),(5,7),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,7),(1,5),(1,6),(2,3),(2,5),(3,4),(4,6),(5,7),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,6),(2,4),(3,7),(4,7),(5,3),(6,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(1,6),(2,4),(2,7),(3,7),(5,3),(6,5)],8)=>([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)
([(1,7),(2,5),(2,7),(5,6),(6,3),(6,4)],8)=>([(0,1)],2)
([(1,6),(1,7),(5,4),(6,2),(7,3),(7,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(0,6),(0,7),(5,1),(6,2),(7,5)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,2),(0,3),(0,4),(0,6),(3,7),(4,7),(5,1),(6,5)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,6),(4,7),(5,3),(6,2),(6,5)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,5),(2,7),(5,6),(6,3),(6,4)],8)=>([],1)
([(0,3),(1,6),(2,6),(2,7),(3,5),(4,7),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,6),(1,7),(2,6),(2,7),(3,5),(4,7),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,6),(3,7),(4,3),(5,4),(6,2),(6,7)],8)=>([(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,5),(1,6),(1,7),(3,7),(4,3),(5,4),(6,2)],8)=>([(0,5),(0,6),(1,11),(2,4),(2,13),(3,7),(4,10),(5,1),(5,12),(6,2),(6,12),(8,9),(9,7),(10,3),(10,9),(11,8),(12,11),(12,13),(13,8),(13,10)],14)
([(0,4),(1,5),(1,7),(4,7),(5,6),(6,2),(6,3)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(1,7),(5,3),(6,2),(6,5),(7,4)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,6),(0,7),(4,2),(5,1),(6,4),(7,5)],8)=>([(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,3),(0,4),(0,5),(1,7),(2,6),(4,2),(4,7),(5,1),(5,6)],8)=>([(0,3),(0,4),(1,5),(2,5),(3,6),(4,6),(6,1),(6,2)],7)
([(0,6),(0,7),(1,4),(1,7),(3,6),(4,2),(4,3),(4,5),(7,5)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(1,3),(1,7),(3,6),(4,2),(4,7),(5,4),(5,6)],8)=>([(0,1)],2)
([(0,4),(1,3),(1,6),(1,7),(2,6),(2,7),(3,5),(4,2),(4,5)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,5),(1,6),(3,7),(4,6),(5,3),(7,2)],8)=>([(0,4),(0,6),(1,7),(2,9),(3,8),(4,11),(5,3),(5,10),(6,1),(6,11),(7,5),(7,9),(9,10),(10,8),(11,2),(11,7)],12)
([(0,3),(0,6),(1,4),(1,7),(2,6),(3,5),(3,7),(4,2),(6,5)],8)=>([(0,5),(0,6),(1,10),(3,7),(4,8),(5,9),(6,1),(6,9),(7,8),(8,2),(9,3),(9,10),(10,4),(10,7)],11)
([(0,3),(0,6),(1,4),(1,7),(2,6),(3,7),(4,2),(6,5),(7,5)],8)=>([(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,6),(0,7),(1,2),(1,7),(2,6),(3,5),(4,5),(6,3),(7,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(0,7),(1,2),(1,7),(2,6),(4,5),(6,4),(7,3),(7,5)],8)=>([(0,5),(2,8),(3,7),(4,2),(4,7),(5,6),(6,3),(6,4),(7,8),(8,1)],9)
([(0,6),(0,7),(1,4),(1,7),(4,6),(5,3),(6,5),(7,2)],8)=>([(0,5),(1,7),(2,8),(3,4),(3,7),(4,2),(4,9),(5,6),(6,1),(6,3),(7,9),(9,8)],10)
([(0,6),(0,7),(1,4),(1,6),(4,5),(4,7),(6,5),(7,2),(7,3)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,2),(2,5),(2,6),(2,7),(6,4),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,5),(5,2),(5,6),(5,7),(6,4),(7,3)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(0,5),(4,6),(4,7),(5,6),(5,7),(6,2),(7,1)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,2),(0,3),(0,4),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7),(7,1)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,4),(4,3),(4,5),(4,6),(4,7),(7,2)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,4),(1,6),(4,5),(4,7),(7,2),(7,3)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,3),(1,6),(1,7),(3,5),(4,2),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,6),(0,7),(1,4),(1,6),(1,7),(2,5),(3,4),(4,2),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(0,6),(1,4),(1,5),(1,6),(2,7),(3,4),(4,2),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(1,3),(1,5),(1,6),(2,5),(3,7),(4,2),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(0,7),(1,4),(1,7),(2,6),(4,2),(6,5),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(0,7),(1,5),(1,6),(3,7),(5,3),(7,2)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,3),(1,5),(1,6),(1,7),(2,5),(2,6),(4,2),(4,7)],8)=>([],1)
([(0,5),(1,3),(1,6),(1,7),(4,2),(4,7),(5,4),(5,6)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,7),(3,5),(4,2),(4,3),(4,6)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(2,6),(4,2),(4,7),(5,1),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,4),(0,6),(0,7),(5,3),(6,5),(7,1),(7,2)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(1,6),(1,7),(4,3),(5,2),(5,4)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,5),(1,7),(5,6),(6,2),(6,3)],8)=>([],1)
([(0,6),(1,2),(1,3),(1,7),(4,7),(5,4),(6,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,2),(1,4),(3,7),(4,7),(5,3),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(1,4),(2,7),(3,7),(4,7),(5,2),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,4),(3,7),(5,3),(6,5)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(1,4),(1,6),(6,7),(7,2),(7,3)],8)=>([(0,1)],2)
([(0,7),(1,4),(1,6),(1,7),(5,3),(6,2),(6,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(0,5),(0,7),(6,1),(7,6)],8)=>([(0,2),(2,1)],3)
([(1,4),(1,5),(1,7),(6,3),(7,2),(7,6)],8)=>([(0,1)],2)
([(2,5),(2,6),(6,7),(7,3),(7,4)],8)=>([],1)
([(1,4),(2,7),(3,7),(4,6),(5,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,7),(3,5),(4,2),(4,6),(5,6),(7,4),(7,5)],8)=>([(0,5),(1,7),(2,7),(4,6),(5,4),(6,1),(6,2),(7,3)],8)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,4),(1,7),(2,4),(2,7),(4,6),(6,3),(6,5),(7,5)],8)=>([],1)
([(0,7),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,5),(1,4),(1,7),(2,3),(2,5),(3,6),(3,7),(5,6),(5,7),(6,4)],8)=>([(0,2),(2,1)],3)
([(1,5),(2,3),(2,5),(3,4),(3,6),(3,7),(5,6),(5,7)],8)=>([],1)
([(1,5),(2,4),(2,5),(4,6),(4,7),(5,3),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,7),(2,5),(2,7),(3,5),(3,7),(5,6),(7,4),(7,6)],8)=>([],1)
([(0,6),(1,4),(1,6),(3,5),(4,3),(4,7),(6,7),(7,2),(7,5)],8)=>([(0,6),(2,7),(3,7),(4,1),(5,4),(6,2),(6,3),(7,5)],8)
([(0,7),(1,6),(1,7),(2,3),(2,7),(3,6),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(2,3),(3,6),(3,7),(4,7),(5,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(3,5),(4,6),(4,7),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,3),(1,5),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,4),(0,5),(1,2),(1,3),(1,5),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(1,5),(2,7),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,4),(1,7),(2,4),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(3,7),(4,5),(4,6),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,7),(5,6)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(1,6),(2,6),(2,7),(3,7),(4,7),(5,1),(5,2)],8)=>([],1)
([(0,6),(1,3),(1,5),(2,7),(3,7),(4,6),(4,7),(5,2),(5,4)],8)=>([],1)
([(0,6),(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,4),(1,5),(1,7),(4,6),(5,2),(5,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,7),(1,5),(1,7),(5,2),(5,3),(5,6),(7,6)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(4,7),(5,6),(6,1),(6,2),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,6),(3,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(2,5),(2,6),(2,7),(4,5)],8)=>([(0,1)],2)
([(0,4),(0,5),(0,6),(3,7),(5,2),(5,7),(6,1),(6,3)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,2),(1,3),(1,5),(1,6),(3,7),(4,5),(4,6)],8)=>([(0,1)],2)
([(0,7),(1,5),(1,7),(2,3),(2,4),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,6),(1,7),(2,3),(2,5),(2,6),(2,7),(3,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,7),(2,5),(3,4),(3,5),(3,7),(4,6),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,6),(1,7),(2,3),(2,6),(2,7),(3,5),(6,4),(7,5)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,7),(2,7),(3,6),(4,6),(5,6),(5,7)],8)=>([],1)
([(0,4),(0,6),(1,2),(1,3),(1,6),(2,5),(2,7),(3,5),(3,7),(4,7),(6,7)],8)=>([],1)
([(0,6),(1,2),(1,3),(1,4),(1,6),(2,7),(3,5),(3,7),(4,5),(4,7),(6,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(3,7),(4,7),(5,7)],8)=>([],1)
([(0,7),(1,7),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,5)],8)=>([],1)
([(0,6),(1,3),(1,4),(1,6),(2,5),(3,5),(3,7),(4,2),(4,7),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,6),(1,3),(1,7),(3,6),(4,5),(4,7),(6,5),(7,2)],8)=>([(0,4),(0,5),(1,8),(2,10),(3,7),(4,9),(5,9),(6,3),(6,10),(7,8),(9,2),(9,6),(10,1),(10,7)],11)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,7),(4,5),(6,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,3),(1,7),(2,4),(2,5),(3,6),(4,7),(6,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,6),(1,4),(1,6),(2,5),(3,7),(4,2),(4,7),(6,5),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,7),(1,4),(1,6),(2,3),(2,4),(2,5),(3,6),(3,7),(4,7),(5,6)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,4),(0,6),(1,6),(1,7),(2,5),(2,7),(5,3),(6,5),(7,3),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,4),(1,5),(2,3),(2,5),(2,6),(3,7),(4,6),(4,7),(5,7)],8)=>([],1)
([(1,6),(2,3),(2,4),(2,6),(4,7),(6,5),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(1,7),(2,5),(3,4),(3,5),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,3),(2,7),(3,5),(5,6),(7,4),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,6),(2,7),(3,6),(3,7),(6,5),(7,4)],8)=>([],1)
([(0,5),(1,4),(1,6),(3,6),(4,7),(5,3),(5,7),(7,2)],8)=>([(0,4),(0,6),(1,10),(2,9),(3,8),(4,7),(5,2),(5,8),(6,1),(6,7),(7,10),(8,9),(10,3),(10,5)],11)
([(0,6),(1,3),(2,4),(2,6),(4,7),(6,7),(7,5)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(2,6),(3,4),(3,6),(4,5),(4,7),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,3),(1,6),(2,4),(2,6),(4,7),(6,5),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(1,7),(2,4),(2,6),(2,7),(6,3),(6,5)],8)=>([],1)
([(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,6),(3,7),(4,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(3,6),(3,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(2,6),(2,7),(3,4)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,6),(1,7),(2,4),(2,5),(2,7),(6,3),(6,5)],8)=>([],1)
([(0,5),(0,7),(1,4),(1,6),(1,7),(2,4),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,5),(1,7),(5,3),(5,6),(7,2),(7,6)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,7),(2,3),(2,5),(2,7),(4,6)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,4),(2,5),(2,6),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(2,6),(3,5),(3,6),(3,7),(7,4)],8)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,3),(0,6),(0,7),(1,4),(1,5),(1,7),(3,5),(4,2),(4,6)],8)=>([(0,1)],2)
([(0,7),(1,5),(1,7),(5,3),(5,4),(5,6),(7,2),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,3),(1,4),(1,5),(1,7),(2,4),(2,5),(2,6),(2,7),(6,3)],8)=>([(0,1)],2)
([(1,5),(1,6),(1,7),(2,3),(2,4),(2,6),(2,7)],8)=>([],1)
([(0,7),(1,5),(1,7),(5,2),(5,3),(5,4),(5,6),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,7),(2,6),(2,7),(3,4),(3,5),(3,6)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,3),(2,4),(2,5),(2,6),(4,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,7),(3,7),(4,5),(7,6)],8)=>([(0,1)],2)
([(3,6),(3,7),(4,5),(4,7)],8)=>([],1)
([(2,6),(2,7),(3,4),(3,5),(3,7)],8)=>([],1)
([(1,6),(1,7),(2,3),(2,4),(2,5),(2,7)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,3),(1,4),(1,5),(1,7)],8)=>([],1)
([(1,5),(2,5),(3,6),(4,7),(5,7),(7,6)],8)=>([],1)
([(1,6),(2,3),(2,4),(3,7),(4,5),(5,7),(7,6)],8)=>([(0,1)],2)
([(1,7),(2,7),(3,7),(4,7),(5,6),(7,6)],8)=>([],1)
([(1,7),(2,7),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(2,4),(2,5),(4,7),(5,6),(6,3),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(2,5),(2,6),(3,7),(4,7),(5,7),(6,3),(6,4)],8)=>([],1)
([(1,5),(2,3),(2,4),(2,5),(3,7),(4,7),(5,6),(7,6)],8)=>([(0,1)],2)
([(1,6),(2,7),(3,7),(4,5),(5,3),(6,2),(6,4)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,7),(3,7),(4,6),(5,6),(6,7)],8)=>([],1)
([(1,7),(2,4),(2,5),(2,6),(3,7),(4,7),(5,7),(6,3)],8)=>([(0,1)],2)
([(1,3),(1,4),(1,5),(1,6),(2,7),(3,7),(4,7),(5,7),(6,2)],8)=>([(0,1)],2)
([(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,7)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(3,7),(4,6),(5,1),(5,6),(5,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(2,6),(2,7),(7,3),(7,4),(7,5)],8)=>([],1)
([(0,4),(0,7),(5,3),(6,2),(6,5),(7,1),(7,6)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(2,6),(3,4),(3,7)],8)=>([],1)
([(0,3),(0,5),(1,6),(2,6),(3,7),(4,2),(5,1),(5,4),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,6),(2,3),(2,4),(2,5),(2,6),(3,7),(4,7),(5,7)],8)=>([],1)
([(1,6),(2,3),(2,4),(2,6),(3,7),(4,5),(4,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,7),(5,6),(6,3),(6,4),(7,2),(7,5)],8)=>([],1)
([(0,7),(1,4),(2,6),(3,6),(4,5),(4,7),(5,2),(5,3)],8)=>([(0,1)],2)
([(0,6),(3,5),(4,3),(5,1),(6,7),(7,2),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,3),(1,4),(3,6),(3,7),(4,6),(4,7),(5,2),(7,5)],8)=>([],1)
([(3,7),(4,6),(5,6),(6,7)],8)=>([],1)
([(3,4),(3,5),(4,6),(5,7),(6,7)],8)=>([(0,1)],2)
([(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(4,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(5,6),(6,4),(7,2),(7,3),(7,5)],8)=>([(0,2),(2,1)],3)
([(1,6),(2,3),(2,4),(2,5),(2,6),(4,7),(5,7)],8)=>([(0,1)],2)
([(2,5),(2,6),(2,7),(7,3),(7,4)],8)=>([],1)
([(1,4),(1,5),(1,6),(1,7),(7,2),(7,3)],8)=>([],1)
([(0,7),(1,2),(1,3),(1,4),(1,5),(1,7),(4,6),(5,6)],8)=>([(0,1)],2)
([(0,7),(5,6),(6,4),(7,1),(7,2),(7,3),(7,5)],8)=>([(0,2),(2,1)],3)
([(2,4),(2,5),(2,6),(2,7),(7,3)],8)=>([(0,1)],2)
([(1,3),(1,4),(1,5),(1,6),(1,7),(7,2)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,6),(2,7),(3,4),(3,6),(4,7),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(2,6),(3,4),(3,5),(3,6),(5,7),(6,7)],8)=>([(0,1)],2)
([(1,5),(1,6),(2,4),(2,5),(3,7),(4,6),(5,3),(6,7)],8)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(1,5),(2,4),(2,5),(3,7),(4,6),(5,3),(5,6),(6,7)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,7),(2,5),(2,6),(3,4),(3,6),(4,7),(5,7),(6,7)],8)=>([],1)
([(1,6),(1,7),(2,6),(2,7),(3,4),(3,6),(4,5),(4,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,6),(1,7),(2,6),(2,7),(3,4),(3,5),(3,6),(4,7),(5,7)],8)=>([],1)
([(0,2),(0,3),(0,5),(1,7),(2,6),(2,7),(3,6),(3,7),(4,1),(5,4),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,7),(3,4),(3,6),(4,7),(5,6)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(2,7),(3,6),(3,7),(4,6),(4,7),(5,1)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,5),(3,4),(3,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,4),(1,6),(2,3),(2,5),(2,6),(5,7),(6,7)],8)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(4,7),(6,7)],8)=>([],1)
([(1,7),(2,6),(2,7),(3,6),(3,7),(4,5)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,3),(1,7),(2,4),(2,7),(4,5),(4,6)],8)=>([],1)
([(0,5),(1,2),(1,3),(1,4),(3,6),(3,7),(4,6),(4,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,4),(1,6),(1,7),(5,3),(7,2),(7,5)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,3),(1,4),(1,7),(4,6),(7,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,4),(0,5),(0,6),(0,7),(1,2),(1,3),(2,6),(2,7),(3,5),(3,6),(3,7)],8)=>([],1)
([(1,5),(1,6),(2,4),(2,5),(2,6),(4,7),(6,3),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,2),(1,3),(1,6),(1,7),(2,5),(3,5),(6,4),(7,4)],8)=>([],1)
([(0,3),(0,5),(0,6),(1,2),(1,5),(1,6),(2,7),(3,4),(5,7),(6,4),(6,7)],8)=>([],1)
([(0,5),(0,7),(1,4),(2,3),(2,5),(2,7),(3,6),(4,7),(5,6)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,2),(0,3),(0,5),(1,7),(2,6),(3,7),(4,1),(5,4),(5,6)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,2),(5,3),(6,4),(7,4)],8)=>([(0,1)],2)
([(0,3),(0,5),(2,6),(3,6),(3,7),(4,1),(5,2),(5,7),(7,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(0,7),(1,2),(2,6),(2,7),(4,5),(6,4),(7,3),(7,5)],8)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,5),(0,6),(1,5),(1,6),(4,3),(4,7),(5,7),(6,4),(7,2)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,5),(1,7),(2,6),(2,7),(3,5),(6,3),(6,4),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,7),(2,3),(2,7),(3,6),(6,5),(7,4)],8)=>([(0,1)],2)
([(0,6),(1,4),(1,6),(3,5),(4,3),(4,7),(6,5),(6,7),(7,2)],8)=>([(0,6),(1,8),(2,8),(3,7),(4,7),(5,3),(5,4),(6,1),(6,2),(8,5)],9)
([(0,3),(0,7),(1,6),(1,7),(2,6),(3,2),(3,4),(6,5),(7,4),(7,5)],8)=>([(0,6),(1,8),(2,8),(3,7),(4,7),(6,1),(6,2),(7,5),(8,3),(8,4)],9)
([(0,7),(1,4),(1,5),(1,7),(2,3),(2,4),(2,5),(3,7),(4,6),(5,6)],8)=>([],1)
([(1,6),(1,7),(2,3),(2,6),(3,7),(6,4),(6,5)],8)=>([(0,1)],2)
([(1,7),(2,4),(2,7),(6,3),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,7),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,5),(1,7),(2,5),(2,7),(5,6),(6,3),(7,4),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,6),(3,4),(3,5),(4,7),(6,5)],8)=>([],1)
([(0,7),(1,7),(2,7),(3,5),(3,7),(5,6),(7,4),(7,6)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(2,7),(3,7),(4,6),(5,2),(7,1),(7,6)],8)=>([(0,1)],2)
([(0,5),(1,5),(2,4),(2,6),(4,7),(5,6),(6,3),(6,7)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,7)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,6),(2,7),(3,4),(3,6),(3,7),(4,5)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(0,7),(1,6),(1,7),(2,3),(2,4),(2,6),(2,7),(4,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,7),(1,4),(1,5),(1,7),(2,6),(3,4),(3,5),(3,6)],8)=>([(0,1)],2)
([(1,6),(2,5),(2,7),(3,5),(3,7),(4,6),(4,7)],8)=>([],1)
([(1,6),(2,3),(2,6),(3,5),(3,7),(6,4),(6,7)],8)=>([],1)
([(1,5),(1,7),(2,5),(2,6),(2,7),(3,4),(3,7),(4,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(2,7),(3,5),(3,6),(7,4),(7,6)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,6),(2,7),(6,3),(7,4),(7,5)],8)=>([(0,1)],2)
([(1,4),(1,5),(1,7),(2,3),(2,5),(2,6),(3,7),(4,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,7),(1,4),(1,5),(1,6),(3,5),(3,6),(4,2),(4,7)],8)=>([],1)
([(0,4),(0,6),(4,7),(5,3),(5,7),(6,1),(6,2),(6,5)],8)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(2,5),(3,5),(3,6),(3,7),(4,1),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,3),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(3,5),(4,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,3),(1,6),(1,7),(6,2),(7,4),(7,5)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,3),(2,4),(2,5)],8)=>([],1)
([(0,7),(1,2),(1,4),(2,5),(2,7),(3,5),(3,6),(4,3),(4,7),(7,6)],8)=>([(0,1)],2)
([(1,3),(1,5),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,4),(0,6),(1,2),(1,3),(1,6),(2,7),(3,7),(4,5),(6,5),(6,7)],8)=>([],1)
([(0,7),(1,3),(1,4),(2,5),(2,7),(3,5),(3,6),(4,2),(4,6),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,3),(1,4),(2,5),(2,7),(3,5),(3,6),(4,2),(4,6),(6,7)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,6),(2,5),(3,5),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,5),(1,6),(2,3),(2,4),(3,7),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,7),(1,6),(3,5),(4,3),(5,2),(6,4),(6,7)],8)=>([(0,5),(1,7),(2,8),(3,4),(3,7),(4,2),(4,9),(5,6),(6,1),(6,3),(7,9),(9,8)],10)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,4),(6,5),(7,2)],8)=>([(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),(0,7),(1,5),(2,6),(2,7),(3,4),(4,2),(5,3)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(0,7),(1,2),(1,3),(2,4),(2,5),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,3),(1,5),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,3),(1,6),(1,7),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(3,4),(3,5),(7,2),(7,3)],8)=>([(0,1)],2)
([(1,2),(1,3),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(1,6),(1,7),(2,5),(5,6),(5,7),(7,3),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(4,5),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,5),(1,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,7),(2,7),(3,5),(3,7),(4,5),(4,6),(7,6)],8)=>([],1)
([(0,6),(1,5),(1,7),(2,5),(2,7),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,5),(0,7),(1,2),(1,3),(1,6),(4,7),(6,4)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(2,6),(3,4),(3,6),(4,5),(5,7),(6,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(0,7),(1,5),(2,3),(2,5),(3,6),(3,7),(4,6),(4,7),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,3),(1,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,2)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,6),(2,7),(3,6),(3,7),(4,3),(5,2),(5,4)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,4),(4,5),(4,6),(7,5),(7,6)],8)=>([(0,1)],2)
([(1,5),(2,3),(2,6),(4,7),(5,7),(6,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,7),(2,6),(2,7),(3,4),(3,5),(3,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,2),(1,3),(1,4),(1,7),(4,5),(4,6),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,2),(1,4),(1,5),(3,6),(4,6),(4,7),(5,3),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,5),(1,6),(3,7),(4,7),(5,2),(6,3)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,5),(0,7),(1,4),(2,3),(2,5),(2,6),(4,7),(7,6)],8)=>([(0,3),(0,5),(1,7),(3,6),(4,2),(5,1),(5,6),(6,7),(7,4)],8)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(2,3),(6,2),(7,3)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(5,3),(6,4),(7,2),(7,4)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,5),(0,6),(0,7),(1,4),(2,3),(2,7),(3,5),(4,6),(4,7)],8)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,7),(1,7),(2,3),(2,4),(2,6),(5,7),(6,5)],8)=>([(0,1)],2)
([(2,4),(2,5),(2,6),(3,7),(4,7),(5,7),(6,3)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,3),(1,4),(1,7),(3,5),(3,6),(4,2)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,4),(1,7),(3,5),(3,6),(4,2),(4,5),(4,6)],8)=>([(0,1)],2)
([(1,4),(1,5),(4,7),(5,3),(5,7),(6,2),(7,6)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,3),(1,4),(1,7),(4,6),(5,2),(6,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,7),(2,4),(2,5),(5,7),(6,3),(7,6)],8)=>([],1)
([(0,7),(1,7),(2,6),(3,6),(3,7),(4,5)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,7),(3,5),(3,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,2),(6,4),(7,3),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,6),(1,7),(5,3),(6,4),(6,5),(7,2),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,5),(3,4),(3,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,4),(3,5),(4,6),(4,7),(7,3)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(0,7),(1,3),(1,7),(3,5),(3,6),(4,2),(6,4)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,4),(4,3),(4,6),(4,7),(5,2),(7,5)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,3),(2,6),(2,7),(4,5),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,3),(1,7),(5,2),(6,5),(7,4),(7,6)],8)=>([(0,2),(2,1)],3)
([(1,6),(4,5),(5,2),(6,7),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,5),(3,4),(3,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,2),(5,4),(7,5)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(0,6),(1,3),(1,4),(1,5),(1,6),(3,7),(4,7),(5,7),(6,2)],8)=>([(0,1)],2)
([(0,5),(0,6),(1,3),(1,7),(2,4),(2,5),(3,6),(4,7),(5,7)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,6),(1,3),(1,4),(1,5),(1,6),(2,7),(3,7),(4,7),(5,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,4),(1,5),(1,6),(3,7),(4,7),(5,3),(6,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,3),(2,4),(2,5),(5,6),(5,7)],8)=>([],1)
([(2,7),(3,7),(4,5),(4,7),(5,6)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,5),(3,4),(3,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,4),(3,5),(3,7),(5,6)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,5),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(2,6),(2,7),(3,5),(4,5),(4,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,6),(3,4),(3,7),(7,5)],8)=>([(0,1)],2)
([(1,5),(2,6),(2,7),(3,4),(4,6),(4,7),(7,5)],8)=>([(0,2),(2,1)],3)
([(2,3),(2,4),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,5),(1,4),(1,5),(2,3),(2,6),(2,7),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,6),(1,4),(1,7),(5,3),(6,2),(6,7),(7,5)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,7),(3,6),(4,5),(5,7),(7,6)],8)=>([(0,1)],2)
([(1,7),(2,6),(3,5),(4,5),(4,6),(5,7),(6,7)],8)=>([],1)
([(1,7),(2,6),(2,7),(3,5),(4,5),(4,7),(5,6)],8)=>([],1)
([(1,6),(2,3),(2,4),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,7),(2,4),(2,6),(3,7),(4,7),(5,3),(6,5)],8)=>([(0,2),(2,1)],3)
([(1,6),(2,3),(2,6),(3,5),(4,7),(5,4),(6,7)],8)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(1,5),(1,6),(2,5),(2,6),(3,4),(4,7),(5,7),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,6),(2,5),(3,4),(3,6),(4,7),(5,7),(6,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,6),(2,3),(2,4),(2,6),(3,7),(4,7),(5,7),(6,5)],8)=>([(0,2),(2,1)],3)
([(1,3),(1,4),(1,6),(2,7),(3,7),(4,7),(5,2),(6,5)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,7),(3,7),(4,5),(5,6),(6,7)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,7),(3,6),(4,5),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,4),(1,4),(1,7),(2,5),(2,6),(3,5),(3,6),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,6),(1,7),(2,4),(2,7),(3,5),(3,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,5),(2,3),(2,4),(2,5),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,4),(3,5),(5,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,2),(0,3),(0,4),(0,5),(3,7),(4,6),(5,6),(5,7),(7,1)],8)=>([],1)
([(2,7),(3,6),(4,6),(4,7),(7,5)],8)=>([],1)
([(0,3),(0,7),(4,6),(5,2),(6,5),(7,1),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,3),(1,6),(1,7),(4,2),(5,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(4,6),(5,4),(6,2),(7,3),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,5),(2,6),(2,7),(3,4),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(2,6),(2,7),(3,6),(3,7),(5,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(0,7),(1,6),(1,7),(2,4),(3,5),(5,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,5),(1,6),(2,5),(2,6),(2,7),(3,4),(4,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,7),(2,5),(3,4),(3,7),(7,6)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,4),(0,5),(0,6),(4,7),(5,2),(6,1),(6,7),(7,3)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,6),(2,6),(3,4),(4,5),(4,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,4),(2,7),(4,5),(7,3),(7,6)],8)=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)
([(0,7),(1,5),(1,7),(2,5),(2,6),(2,7),(3,4),(4,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,5),(3,7),(6,4)],8)=>([],1)
([(0,7),(1,6),(5,4),(6,2),(6,3),(6,7),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,6),(2,3),(2,6),(2,7),(4,5),(7,4)],8)=>([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)
([(0,4),(0,6),(4,7),(5,3),(6,1),(6,2),(6,7),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,7),(2,4),(2,5),(2,7),(6,3),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(4,6),(5,3),(6,5),(7,1),(7,2),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(3,4),(4,2),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(1,3),(1,4),(1,6),(3,7),(4,5),(4,7),(7,2)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,4)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,3),(1,6),(2,4),(2,6),(2,7),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,4),(1,7),(6,7),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,4),(1,5),(1,7),(6,2),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,2),(1,6),(2,3),(2,7),(3,4),(3,5),(6,7),(7,4),(7,5)],8)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,3),(0,7),(1,6),(1,7),(3,5),(3,6),(5,4),(6,2),(6,4),(7,5)],8)=>([(0,5),(1,7),(2,7),(4,6),(5,4),(6,1),(6,2),(7,3)],8)
([(0,2),(0,7),(1,5),(1,7),(2,3),(2,6),(3,4),(3,5),(6,4),(7,6)],8)=>([(0,6),(1,8),(2,8),(3,7),(4,7),(6,1),(6,2),(7,5),(8,3),(8,4)],9)
([(0,3),(0,7),(1,5),(1,7),(2,6),(3,4),(3,5),(5,2),(7,4),(7,6)],8)=>([(0,5),(1,7),(2,7),(4,6),(5,4),(6,1),(6,2),(7,3)],8)
([(0,2),(1,6),(1,7),(2,3),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,4),(2,3),(2,5),(3,6),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(1,5),(2,3),(3,6),(3,7),(4,6),(4,7),(5,4)],8)=>([(0,1)],2)
([(1,7),(2,7),(3,4),(3,5),(3,7),(5,6),(7,6)],8)=>([],1)
([(0,6),(1,3),(1,5),(1,7),(2,4),(2,5),(2,6),(4,7),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,6),(2,7),(3,5),(3,6),(6,4),(7,5)],8)=>([],1)
([(1,6),(2,5),(2,7),(3,4),(3,5),(3,6),(4,7),(6,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(0,7),(1,6),(1,7),(2,3),(3,4),(3,5),(6,2),(7,4),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(1,5),(2,5),(3,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,3),(2,6),(3,4),(3,5),(6,7),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,2),(1,5),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(5,3),(5,4)],8)=>([],1)
([(0,7),(1,5),(2,6),(3,7),(6,3),(7,4)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,6),(2,4),(2,7),(3,5),(3,6),(5,7),(6,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,4),(1,5),(3,6),(4,3),(4,7),(5,2),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,6),(4,7),(5,3),(6,4),(6,5)],8)=>([(0,1)],2)
([(0,5),(1,3),(1,7),(2,4),(2,5),(3,6),(4,6),(4,7),(5,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(1,5),(2,4),(2,6),(4,7),(5,6),(6,7)],8)=>([(0,2),(0,3),(0,4),(1,7),(2,6),(2,8),(3,5),(3,8),(4,5),(4,6),(5,9),(6,9),(8,1),(8,9),(9,7)],10)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(3,4),(6,3),(7,2),(7,4)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(1,7),(2,5),(2,6),(3,4),(3,6),(3,7),(5,7)],8)=>([],1)
([(1,4),(1,7),(2,3),(2,5),(5,7),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,6),(3,7),(4,7),(6,2),(6,3),(6,4)],8)=>([(0,1)],2)
([(0,6),(1,6),(1,7),(2,6),(2,7),(3,4),(3,5),(3,7)],8)=>([],1)
([(0,7),(1,4),(1,5),(4,7),(5,3),(5,6),(7,2),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,2),(1,3),(1,6),(2,7),(3,7),(4,5),(7,4)],8)=>([(0,1)],2)
([(1,3),(1,4),(2,5),(3,5),(3,6),(4,2),(4,6),(5,7),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,7),(1,6),(1,7),(3,5),(3,6),(6,4),(7,4),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,5),(1,6),(1,7),(2,3),(2,4),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(2,3),(2,4),(4,7),(7,5),(7,6)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(3,5),(3,7)],8)=>([],1)
([(1,6),(1,7),(2,4),(2,7),(3,5),(3,6),(5,7)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(1,6),(1,7),(2,4),(2,6),(2,7),(3,4),(3,6),(3,7),(4,5),(7,5)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(7,3)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,7),(4,6),(5,6),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,3),(1,4),(1,5),(1,6),(3,7),(4,7),(5,7),(6,2)],8)=>([(0,1)],2)
([(2,3),(2,5),(2,6),(4,7),(5,7),(6,4)],8)=>([(0,1)],2)
([(0,7),(1,6),(2,3),(2,4),(2,6),(4,5),(6,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(4,7)],8)=>([],1)
([(0,6),(1,7),(2,5),(3,4),(3,5),(4,6),(4,7),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,5),(4,6),(4,7),(5,4),(7,2),(7,3)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,3),(5,2),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,6),(1,7),(2,3),(2,4),(2,5),(3,6),(7,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,4),(5,3),(6,5),(7,6)],8)=>([(0,1)],2)
([(0,5),(1,4),(2,3),(2,5),(2,6),(2,7),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,6),(1,5),(2,4),(2,7),(7,3)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,6),(1,2),(1,3),(1,4),(1,5),(1,6),(3,7),(4,7),(5,7)],8)=>([(0,1)],2)
([(1,4),(1,5),(1,6),(3,7),(4,7),(5,3),(6,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(0,7),(1,4),(1,6),(2,3),(2,5),(4,7),(5,6)],8)=>([(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,1),(5,7),(7,8),(8,2),(8,3)],9)
([(0,4),(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(5,2),(6,3),(7,3)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,3),(5,4),(6,3),(7,2),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(3,6),(4,7),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,7),(3,7),(4,6),(5,6),(5,7)],8)=>([],1)
([(0,6),(1,3),(1,5),(3,7),(4,6),(5,2),(5,7),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,6),(1,4),(1,5),(1,6),(2,7),(3,4),(3,5),(4,7),(5,7)],8)=>([],1)
([(0,3),(0,7),(1,4),(2,7),(3,5),(3,6),(4,2),(4,5),(4,6)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,5),(3,7),(4,6),(5,3),(5,6),(7,2)],8)=>([(0,4),(0,6),(1,10),(2,9),(3,8),(4,7),(5,2),(5,8),(6,1),(6,7),(7,10),(8,9),(10,3),(10,5)],11)
([(1,7),(2,4),(4,7),(6,3),(7,5),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,5),(1,6),(5,7),(7,2),(7,3),(7,4)],8)=>([],1)
([(0,7),(1,5),(5,3),(5,7),(6,2),(7,4),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,4),(1,7),(2,4),(2,7),(3,5),(3,6),(7,5),(7,6)],8)=>([],1)
([(1,7),(2,5),(2,6),(3,4),(3,5),(4,7),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(2,6),(2,7),(3,6),(3,7),(4,5),(7,5)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(5,7),(6,4),(6,7),(7,2),(7,3)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(3,5),(4,3),(5,2),(7,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(1,7),(2,7),(3,4),(5,6),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,7),(2,4),(2,5),(4,6),(5,6),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,4),(2,3),(2,7),(4,7),(6,5),(7,6)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,7),(1,7),(2,3),(2,7),(4,6),(5,6),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,7),(5,6),(6,2),(6,3),(7,5)],8)=>([],1)
([(0,3),(0,4),(1,5),(1,6),(2,5),(2,6),(5,7),(6,7),(7,3),(7,4)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,6),(2,7),(4,3),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(2,7),(3,5),(3,6),(4,7),(7,5),(7,6)],8)=>([],1)
([(1,4),(2,4),(3,5),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([],1)
([(0,3),(0,6),(0,7),(1,3),(1,6),(1,7),(4,2),(5,2),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(1,6),(2,4),(2,5),(3,4),(3,5),(4,7),(5,7),(7,6)],8)=>([(0,1)],2)
([(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(4,3),(5,4),(6,4),(7,3)],8)=>([],1)
([(0,3),(0,5),(0,6),(0,7),(1,3),(1,5),(1,6),(1,7),(4,2),(5,4),(6,4),(7,2)],8)=>([],1)
([(1,4),(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(1,4),(1,7),(2,4),(2,7),(3,6),(3,7),(4,6),(6,5),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,3),(1,4),(2,5),(2,7),(3,5),(3,7),(4,2),(5,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,6),(1,7),(2,5),(2,7),(3,4),(4,5),(4,7),(5,6)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,5),(2,7),(3,5),(3,7),(4,6),(5,4)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,5),(2,7),(3,5),(3,7),(4,6),(5,4)],8)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(2,6),(2,7),(3,6),(3,7),(4,5),(4,7),(6,1)],8)=>([],1)
([(0,6),(0,7),(1,4),(2,3),(2,5),(3,7),(4,6),(4,7),(6,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(1,2),(1,3),(1,6),(2,5),(2,7),(3,4),(3,7),(5,4),(6,5),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,7),(1,3),(2,4),(3,6),(3,7),(4,5),(4,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,6),(1,4),(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,3),(2,7),(4,5),(6,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,6),(1,3),(1,4),(1,7),(4,6),(5,7),(7,2)],8)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,4),(0,7),(1,5),(1,7),(3,6),(5,3),(7,2),(7,6)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,7),(1,5),(1,6),(1,7),(2,3),(2,5),(3,6),(3,7),(7,4)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(0,7),(1,2),(1,6),(1,7),(2,3),(3,5),(6,4),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,6),(3,7),(4,6),(4,7),(5,1),(7,5)],8)=>([],1)
([(0,5),(1,5),(1,7),(2,4),(4,6),(4,7),(5,6),(7,3)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,3),(2,6),(3,7),(4,5),(6,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,3),(1,7),(2,6),(2,7),(3,6),(6,4),(7,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(5,4),(6,5),(7,3),(7,5)],8)=>([],1)
([(0,7),(1,7),(2,3),(2,5),(3,7),(5,6),(7,4),(7,6)],8)=>([],1)
([(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(7,4)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(2,6),(2,7),(3,5),(5,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,3),(2,7),(3,6),(6,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,5),(2,5),(2,7),(5,6),(7,3),(7,4),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,5),(1,6),(1,7),(2,4),(2,7),(4,5),(4,6),(7,3)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,4),(0,6),(1,5),(1,6),(1,7),(4,7),(5,3),(7,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,7),(1,5),(1,7),(4,6),(5,4),(7,2),(7,3),(7,6)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,5),(2,7),(3,4),(3,5),(3,6),(4,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,6),(1,7),(2,6),(2,7),(3,4),(3,5),(3,6),(5,7)],8)=>([],1)
([(2,6),(2,7),(3,4),(4,5),(5,6),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,4),(2,6),(5,7),(6,3),(6,5)],8)=>([],1)
([(0,4),(0,6),(0,7),(1,3),(1,5),(2,7),(3,6),(3,7),(5,2)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(1,2),(1,3),(1,4),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,3),(1,5),(2,6),(3,6),(3,7),(5,2),(5,7)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,6),(0,7),(1,2),(1,3),(1,4),(3,5),(4,6),(4,7),(7,5)],8)=>([(0,1)],2)
([(1,2),(1,3),(1,4),(2,7),(3,5),(3,6),(4,5),(4,6),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,4),(1,3),(1,5),(1,6),(1,7),(2,5),(4,2),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,6),(3,6),(4,5),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,6),(1,7),(2,5),(2,7),(3,4),(3,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,5),(1,7),(4,6),(5,2),(5,3),(7,6)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,6),(3,7),(5,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,7),(1,4),(1,6),(1,7),(2,3),(2,7),(3,6),(4,5),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(2,6),(2,7),(3,6),(3,7),(4,5),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,6),(0,7),(1,5),(1,6),(1,7),(5,2),(5,3)],8)=>([],1)
([(0,5),(1,4),(1,6),(4,7),(5,3),(5,6),(5,7),(7,2)],8)=>([(0,2),(2,1)],3)
([(1,5),(1,6),(1,7),(2,3),(2,4),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,3),(0,7),(1,5),(1,6),(2,5),(2,6),(4,3),(5,4),(5,7),(6,4),(6,7)],8)=>([(0,1)],2)
([(1,7),(2,3),(2,7),(3,5),(3,6),(5,4),(6,4),(7,5),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(1,6),(2,4),(2,5),(3,7),(6,7),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,6),(1,7),(2,5),(2,7),(5,6),(6,3),(6,4),(7,3),(7,4)],8)=>([],1)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(2,4),(5,7),(6,7),(7,3),(7,4)],8)=>([],1)
([(0,6),(1,2),(1,3),(1,6),(2,7),(3,4),(3,5),(6,7),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,6),(1,6),(2,3),(2,7),(3,4),(3,5),(6,7),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,4),(1,7),(2,5),(2,7),(3,6),(3,7),(4,6),(6,5)],8)=>([],1)
([(0,4),(0,7),(1,4),(1,7),(2,3),(2,5),(3,6),(3,7),(4,5),(5,6)],8)=>([(0,1)],2)
([(0,5),(0,6),(1,2),(1,5),(1,6),(2,3),(2,7),(4,3),(5,4),(5,7),(6,4),(6,7)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,6),(1,7),(4,3),(5,3),(6,4),(6,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,2),(1,3),(1,7),(3,5),(3,6),(5,4),(6,4),(7,5),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,3),(2,5),(2,6),(5,4),(6,4),(7,5),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,4),(1,7),(2,3),(2,6),(2,7),(4,6),(6,5),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,6),(1,7),(2,6),(2,7),(5,4),(6,5),(7,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,5),(2,6),(3,4),(3,5),(4,7),(5,7),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,4),(1,5),(2,3),(2,6),(4,7),(5,7),(7,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,6),(1,6),(1,7),(2,3),(2,5),(2,7),(5,4),(6,5),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,3),(1,4),(1,7),(2,6),(4,2),(4,5),(5,6),(7,5)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,3),(0,7),(1,6),(1,7),(3,5),(3,6),(5,4),(6,4),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,2),(1,6),(1,7),(3,4),(5,4),(6,5),(7,3),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(5,3),(6,5),(7,2),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,3),(5,4),(6,2),(6,3),(7,2),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,6),(1,7),(2,3),(2,4),(5,4),(6,5),(7,3),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,3),(1,6),(2,5),(2,7),(3,4),(3,7),(5,4),(6,5)],8)=>([(0,1)],2)
([(0,7),(1,2),(1,3),(1,7),(2,4),(2,5),(3,5),(3,6),(6,4),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,6),(2,5),(2,7),(3,4),(3,5),(6,4),(7,6)],8)=>([(0,1)],2)
([(0,4),(1,4),(1,7),(2,5),(2,7),(3,6),(3,7),(4,6),(6,5)],8)=>([],1)
([(1,5),(2,4),(2,6),(3,4),(3,5),(4,7),(5,6),(6,7)],8)=>([],1)
([(1,5),(2,3),(2,5),(3,4),(3,7),(4,6),(5,7),(7,6)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,7),(1,3),(1,7),(2,4),(2,5),(3,5),(3,6),(6,4),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,5),(1,7),(2,6),(2,7),(5,4),(6,5),(7,3),(7,4)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(3,2),(3,4),(5,4),(6,5),(7,3),(7,5)],8)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,7),(1,2),(1,7),(2,3),(2,6),(3,4),(3,5),(6,5),(7,4),(7,6)],8)=>([(0,6),(2,7),(3,7),(4,1),(5,4),(6,2),(6,3),(7,5)],8)
([(0,6),(1,6),(1,7),(2,5),(2,7),(5,4),(6,3),(6,5),(7,3),(7,4)],8)=>([],1)
([(0,4),(0,7),(1,5),(1,7),(2,3),(2,4),(3,6),(3,7),(4,6),(6,5)],8)=>([(0,2),(2,1)],3)
([(1,3),(1,5),(2,5),(2,7),(3,6),(3,7),(5,6),(6,4),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(1,6),(1,7),(2,6),(2,7),(3,4),(5,4),(6,5),(7,3),(7,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,6),(1,7),(2,6),(2,7),(5,4),(6,5),(7,3),(7,5)],8)=>([(0,1)],2)
([(0,4),(0,7),(1,4),(1,7),(2,6),(2,7),(4,6),(6,5),(7,3),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,5),(2,7),(4,3),(5,3),(6,4),(6,5)],8)=>([(0,1)],2)
([(0,3),(0,6),(0,7),(1,3),(1,6),(1,7),(2,5),(2,6),(2,7),(3,5),(5,4),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(4,3),(5,4),(6,4)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,3),(2,6),(2,7),(3,4),(5,4),(6,5),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,3),(1,4),(2,4),(2,6),(2,7),(5,3),(6,5),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,4),(1,6),(1,7),(2,4),(2,5),(2,7),(5,3),(6,5),(7,3)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,7),(2,4),(2,5),(2,6),(5,3),(6,3),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,7),(3,2),(3,5),(3,6),(5,4),(6,4),(7,5),(7,6)],8)=>([],1)
([(0,2),(0,7),(1,4),(1,7),(2,4),(2,5),(2,6),(5,3),(6,3),(7,5),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(4,3),(5,3),(6,4),(6,5),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(3,4),(5,4),(6,5),(7,2),(7,3),(7,5)],8)=>([(0,1)],2)
([(0,2),(0,7),(1,4),(1,6),(1,7),(2,4),(2,5),(2,6),(5,3),(6,3),(7,5)],8)=>([(0,1)],2)
([(0,3),(0,7),(1,6),(1,7),(3,2),(3,5),(3,6),(5,4),(6,4),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,4),(1,7),(3,6),(4,2),(4,3),(4,5),(5,6),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,4),(1,5),(1,7),(2,4),(2,6),(2,7),(5,3),(6,5),(7,3)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,4),(1,5),(2,3),(2,5),(2,7),(3,6),(6,4),(7,6)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(5,6),(6,7)],8)=>([(0,1)],2)
([(1,5),(2,5),(3,4),(3,6),(4,7),(5,6),(6,7)],8)=>([(0,1)],2)
([(0,5),(1,5),(2,4),(2,7),(3,4),(3,6),(5,6),(6,7)],8)=>([],1)
([(0,5),(1,5),(2,3),(2,6),(3,4),(3,7),(5,6),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,4),(1,7),(3,5),(4,2),(4,6),(5,6),(7,5)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,6),(0,7),(1,3),(1,6),(1,7),(3,2),(3,4),(5,4),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,2),(0,6),(0,7),(1,4),(1,6),(1,7),(2,3),(2,4),(5,3),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(4,3),(5,4),(6,4),(7,2),(7,3)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,2),(1,5),(1,6),(1,7),(4,3),(5,4),(6,4),(7,3)],8)=>([],1)
([(0,6),(0,7),(1,2),(1,3),(1,6),(1,7),(3,4),(5,4),(6,5),(7,5)],8)=>([],1)
([(0,7),(1,2),(1,3),(1,4),(1,7),(3,6),(4,5),(5,6),(7,5)],8)=>([(0,1)],2)
([(0,5),(1,5),(2,3),(2,4),(2,6),(4,7),(5,6),(6,7)],8)=>([],1)
([(0,5),(1,5),(2,7),(3,4),(3,6),(5,7),(7,6)],8)=>([(0,1)],2)
([(1,7),(2,7),(3,7),(4,7),(5,6),(6,7)],8)=>([(0,1)],2)
([(1,6),(2,5),(3,4),(4,7),(5,7),(6,7)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,1),(0,2),(0,3),(0,4),(0,5),(2,7),(3,6),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(2,7),(3,7),(4,5),(4,6),(5,7),(6,7)],8)=>([],1)
([(0,7),(1,7),(2,4),(3,5),(5,6),(6,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,7),(1,7),(2,6),(3,6),(4,5),(4,7),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,5),(1,6),(2,3),(2,4),(4,7),(5,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,4),(1,5),(1,6),(2,3),(2,5),(2,6),(4,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,5),(1,6),(2,3),(2,4),(2,5),(2,6),(4,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,3),(1,4),(1,5),(3,6),(3,7),(4,6),(4,7),(5,2),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,7),(1,3),(1,4),(1,5),(3,6),(3,7),(4,6),(4,7),(5,2),(5,6)],8)=>([(0,1)],2)
([(1,3),(1,4),(1,5),(3,6),(3,7),(4,6),(4,7),(5,2)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,3),(0,4),(0,5),(0,6),(0,7),(6,2),(7,1)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,5),(1,6),(1,7),(5,4),(6,3),(7,2)],8)=>([(0,1),(0,2),(0,3),(1,5),(1,6),(2,4),(2,6),(3,4),(3,5),(4,7),(5,7),(6,7)],8)
([(0,7),(1,3),(1,4),(1,5),(3,7),(4,6),(5,2),(5,6)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(6,4),(7,3)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,6),(0,7),(1,3),(1,4),(1,6),(1,7),(2,3),(2,4),(2,6),(2,7),(6,5),(7,5)],8)=>([],1)
([(0,4),(0,7),(1,4),(1,5),(1,7),(2,3),(2,5),(2,7),(4,6),(7,6)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,3),(2,4),(2,7),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,2),(1,3),(4,7),(5,7),(6,4),(6,5)],8)=>([],1)
([(1,3),(2,5),(2,6),(4,7),(5,7),(6,4)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(3,4),(3,5),(3,6),(4,7),(5,7),(6,7)],8)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(2,7),(3,7),(4,6),(5,6)],8)=>([],1)
([(0,6),(1,6),(2,3),(2,4),(3,7),(4,7),(7,5)],8)=>([],1)
([(0,6),(1,6),(2,6),(3,5),(3,7),(4,5),(4,7),(6,7)],8)=>([],1)
([(0,7),(1,5),(2,5),(2,6),(3,4),(4,7),(7,6)],8)=>([(0,1)],2)
([(1,5),(1,7),(2,5),(2,7),(3,4),(3,7),(4,6),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(1,7),(2,6),(2,7),(3,4),(4,7),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,6),(2,7),(3,6),(3,7),(4,5),(4,6),(7,5)],8)=>([],1)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,6),(3,7),(4,6),(4,7),(7,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(2,3),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,7),(1,5),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,7),(4,5),(4,6)],8)=>([(0,1)],2)
([(0,3),(0,4),(0,5),(4,2),(4,6),(4,7),(5,1),(5,6),(5,7)],8)=>([],1)
([(1,5),(1,6),(2,3),(2,4),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,6),(1,7),(2,3),(2,4),(3,5),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(2,3),(2,4),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(0,7),(1,7),(2,3),(2,6),(3,4),(3,5),(7,4),(7,5),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,7),(2,4),(2,7),(4,5),(4,6),(7,3),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,7),(5,6),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,7),(1,4),(1,7),(2,3),(2,5),(2,6),(3,7),(4,5),(4,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,7),(2,3),(2,4),(2,7),(3,5),(3,6),(4,5),(4,6)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(6,3),(6,4),(7,1),(7,2)],8)=>([],1)
([(2,3),(2,4),(2,5),(2,6),(5,7),(6,7)],8)=>([],1)
([(0,5),(1,3),(1,4),(1,7),(6,2),(7,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,7),(1,6),(1,7),(5,3),(6,2),(6,5)],8)=>([(0,1)],2)
([(0,5),(1,3),(1,6),(1,7),(4,2),(5,4),(5,6),(5,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(0,7),(1,4),(1,5),(1,6),(1,7),(2,4),(2,5),(2,6),(2,7),(7,3)],8)=>([(0,1)],2)
([(0,3),(1,4),(1,5),(1,6),(1,7),(3,2),(3,4),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,4),(1,7),(4,2),(4,3),(4,5),(4,6)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,6),(1,7),(5,2),(5,3),(5,4)],8)=>([],1)
([(0,7),(1,4),(1,5),(1,6),(1,7),(6,2),(6,3)],8)=>([(0,1)],2)
([(0,7),(1,6),(1,7),(2,5),(3,4),(3,7),(4,6),(5,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,5),(1,5),(1,7),(2,3),(2,6),(3,4),(3,7),(5,6)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,6),(1,7),(2,5),(3,4),(3,7),(4,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,6),(1,7),(2,4),(4,6),(4,7),(6,3),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,4),(1,7),(2,4),(2,7),(3,5),(3,7),(4,5),(4,6),(7,6)],8)=>([],1)
([(0,7),(1,5),(2,4),(3,4),(3,5),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,7),(1,5),(2,5),(2,6),(3,4),(3,7),(4,6),(5,7)],8)=>([(0,1)],2)
([(1,5),(2,5),(2,7),(3,4),(3,6),(4,7),(5,6)],8)=>([(0,1)],2)
([(1,6),(2,5),(3,4),(3,5),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,7),(2,5),(3,4),(3,5),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(2,3),(2,5),(3,6),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(0,7),(1,5),(1,7),(2,3),(3,7),(5,6),(7,4),(7,6)],8)=>([(0,1)],2)
([(0,5),(1,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,7)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,6),(1,4),(1,6),(2,5),(2,7),(3,7),(4,2),(6,5),(6,7)],8)=>([(0,1)],2)
([(0,6),(1,2),(1,4),(1,6),(2,7),(3,5),(3,7),(4,5),(4,7),(6,3)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(1,5),(2,7),(3,6),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,6),(3,6),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,7),(2,6),(3,6),(3,7),(4,5),(5,6),(5,7)],8)=>([(0,1)],2)
([(1,7),(2,7),(3,6),(3,7),(4,5),(5,6)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,7),(3,6),(3,7),(4,5),(5,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(2,3),(2,4),(2,6),(3,7),(4,7),(5,6)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,5),(1,6),(2,4),(2,5),(4,7),(5,7),(6,3)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,6),(2,5),(2,7),(3,4),(3,6),(4,7),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(1,6),(2,5),(2,7),(3,4),(3,6),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,5),(2,4),(2,5),(4,6),(4,7),(5,7)],8)=>([],1)
([(0,5),(1,3),(1,4),(1,7),(4,6),(5,6),(5,7),(7,2)],8)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,6),(0,7),(1,6),(1,7),(2,5),(3,4),(3,6),(5,7)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(0,7),(1,6),(1,7),(2,5),(3,4),(3,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(2,6),(3,6),(3,7),(4,5),(5,7)],8)=>([(0,1)],2)
([(2,5),(3,4),(3,7),(5,6),(6,7)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,6),(0,7),(1,4),(2,3),(2,6),(2,7),(4,5),(5,7)],8)=>([(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,4),(1,3),(1,5),(1,6),(4,6),(5,2),(5,7),(6,7)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,7),(1,3),(1,5),(1,7),(4,6),(5,2),(5,6),(7,4)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,5),(1,5),(1,7),(2,3),(2,4),(2,6),(4,7),(5,6)],8)=>([],1)
([(0,7),(1,6),(2,5),(2,7),(6,3),(7,4)],8)=>([(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,6),(1,3),(2,4),(2,6),(2,7),(3,7),(4,5)],8)=>([(0,1),(0,2),(1,11),(2,4),(2,5),(2,11),(3,6),(3,7),(4,8),(4,10),(5,8),(5,9),(6,13),(7,13),(8,12),(9,6),(9,12),(10,7),(10,12),(11,3),(11,9),(11,10),(12,13)],14)
([(0,5),(1,3),(2,4),(2,5),(2,6),(3,6),(4,7),(5,7)],8)=>([(0,3),(0,4),(1,6),(2,5),(3,7),(4,2),(4,7),(5,6),(7,1),(7,5)],8)
([(0,6),(1,2),(1,3),(1,4),(1,6),(2,7),(3,7),(4,5),(4,7),(6,5)],8)=>([(0,1)],2)
([(0,6),(1,3),(1,4),(1,6),(2,7),(3,5),(3,7),(4,5),(4,7),(6,2)],8)=>([(0,2),(2,1)],3)
([(0,4),(1,2),(1,3),(1,6),(2,5),(2,7),(3,5),(3,7),(4,6),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,6),(1,7),(2,6),(2,7),(3,4),(4,5),(5,7)],8)=>([(0,2),(2,1)],3)
([(1,4),(2,3),(2,6),(3,5),(3,7),(4,6),(6,7)],8)=>([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)
([(0,5),(0,7),(1,3),(2,4),(2,6),(3,6),(4,5),(4,7),(6,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,6),(0,7),(1,6),(1,7),(2,4),(4,7),(6,3),(6,5),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,5),(2,4),(2,7),(3,4),(3,5),(4,6),(5,6),(5,7)],8)=>([],1)
([(0,6),(0,7),(1,5),(1,7),(2,5),(2,7),(3,4),(4,7),(5,6)],8)=>([(0,1)],2)
([(1,6),(1,7),(2,4),(3,5),(3,7),(4,7),(5,6)],8)=>([(0,1),(0,2),(1,3),(2,3)],4)
([(1,6),(1,7),(2,4),(2,7),(4,5),(5,6),(7,3)],8)=>([(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),(1,5),(1,6),(2,3),(2,5),(3,4),(4,6),(5,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(0,7),(1,6),(1,7),(2,4),(2,7),(4,5),(5,6),(7,3)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,7),(2,6),(2,7),(3,4),(3,5),(4,6),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,7),(2,6),(5,3),(6,5),(6,7),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(2,4),(2,6),(4,5),(4,7),(6,7)],8)=>([(0,4),(0,5),(1,9),(1,10),(2,8),(2,10),(3,7),(4,6),(5,1),(5,2),(5,6),(6,8),(6,9),(8,11),(9,11),(10,3),(10,11),(11,7)],12)
([(0,4),(0,7),(1,5),(1,7),(4,6),(5,3),(7,2),(7,6)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(1,7),(2,6),(2,7),(3,5),(3,6),(3,7),(5,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,6),(1,6),(1,7),(2,5),(2,6),(2,7),(3,4),(3,7),(4,5)],8)=>([(0,1)],2)
([(0,7),(1,5),(1,6),(1,7),(2,3),(2,5),(2,7),(3,4),(4,6)],8)=>([(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),(1,7),(2,4),(2,6),(2,7),(5,3),(6,5)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,4),(2,6),(2,7),(5,3),(6,5)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,7),(2,6),(2,7),(3,5),(3,6),(7,4)],8)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(1,6),(1,7),(2,5),(2,7),(3,5),(3,7),(6,4)],8)=>([],1)
([(0,5),(0,7),(1,5),(1,6),(1,7),(2,3),(2,7),(3,6),(5,4)],8)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,7),(1,5),(2,6),(2,7),(3,5),(3,6),(7,4)],8)=>([],1)
([(0,6),(1,4),(2,3),(2,6),(2,7),(4,7),(6,5)],8)=>([(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,6),(1,7),(2,4),(2,7),(4,5),(4,6),(7,3)],8)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,6),(1,5),(1,6),(5,3),(5,4),(5,7),(6,7),(7,2)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,7),(7,4)],8)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(0,3),(1,4),(1,5),(1,6),(2,5),(2,6),(2,7),(3,7),(7,4)],8)=>([(0,2),(0,3),(2,5),(3,5),(4,1),(5,4)],6)
([(1,5),(2,3),(2,4),(2,7),(5,7),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,6),(2,3),(2,4),(2,7),(5,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(2,3),(3,4),(4,7)],8)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,4),(1,5),(1,7),(4,7),(5,2),(5,3),(5,6),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,5),(1,7),(4,6),(5,2),(5,3),(5,6),(7,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,5),(0,7),(1,4),(1,6),(1,7),(2,5),(3,6),(4,2)],8)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(1,7),(2,7),(3,4),(4,6),(7,5)],8)=>([(0,2),(2,1)],3)
([(1,7),(2,5),(3,4),(3,7),(5,6)],8)=>([(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,5),(1,7),(2,4),(2,7),(6,3)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,3),(1,4),(1,7),(5,2),(6,5)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,2),(1,3),(1,4),(1,7),(5,7),(6,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,7),(1,3),(1,5),(3,6),(3,7),(4,6),(5,2)],8)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,5),(0,6),(0,7),(1,3),(2,4),(2,6),(3,6),(3,7),(4,5),(4,7)],8)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,7),(1,2),(1,3),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,4),(7,5)],8)=>([],1)
([(0,7),(1,2),(1,3),(2,5),(2,6),(3,5),(3,6),(5,4),(5,7),(6,4),(6,7)],8)=>([(0,1)],2)
([(1,2),(1,4),(2,5),(3,6),(3,7),(4,3),(4,5),(5,6),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,4),(2,6),(2,7),(3,5),(4,2),(4,5),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,3),(1,4),(2,6),(2,7),(3,5),(4,2),(4,5),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,2),(1,4),(2,7),(3,5),(3,6),(4,3),(4,7),(7,5),(7,6)],8)=>([(0,1)],2)
([(0,4),(0,5),(1,2),(1,4),(2,3),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(1,4),(1,5),(2,3),(2,4),(2,5),(3,6),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,6),(0,7),(1,4),(1,5),(2,3),(2,4),(2,5),(4,6),(4,7),(5,6),(5,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,7),(1,5),(1,6),(2,4),(2,5),(2,6),(5,3),(5,7),(6,3),(6,7)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(1,5),(1,6),(2,4),(2,5),(2,6),(4,7),(5,3),(5,7),(6,3),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,4),(1,5),(2,3),(2,4),(2,5),(3,7),(4,6),(4,7),(5,6),(5,7)],8)=>([],1)
([(0,3),(0,5),(1,5),(1,6),(2,4),(2,7),(3,2),(3,6),(5,7),(6,4),(6,7)],8)=>([],1)
([(0,2),(0,4),(1,4),(1,5),(1,6),(2,5),(2,6),(4,7),(5,3),(5,7),(6,3),(6,7)],8)=>([],1)
([(0,5),(0,6),(1,5),(1,6),(2,4),(2,7),(3,4),(3,7),(5,7),(6,2),(6,3)],8)=>([],1)
([(0,2),(0,5),(1,5),(1,6),(1,7),(2,6),(2,7),(6,3),(6,4),(7,3),(7,4)],8)=>([(0,1)],2)
([(0,2),(0,6),(1,6),(1,7),(2,3),(2,7),(3,4),(3,5),(7,4),(7,5)],8)=>([(0,1)],2)
([(0,7),(1,2),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([],1)
([(1,2),(1,3),(1,4),(2,6),(2,7),(3,5),(3,6),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(1,2),(1,3),(1,4),(2,6),(2,7),(3,5),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,7),(1,2),(1,3),(1,4),(2,6),(2,7),(3,5),(3,6),(4,5),(4,6),(4,7)],8)=>([],1)
([(1,5),(1,6),(2,4),(2,5),(2,6),(4,7),(5,7),(6,3),(6,7)],8)=>([(0,1)],2)
([(0,6),(0,7),(1,4),(1,7),(3,2),(3,5),(4,3),(4,6),(6,5)],8)=>([(0,2),(2,1)],3)
([(0,2),(0,6),(1,5),(1,6),(1,7),(2,3),(2,7),(3,4),(3,5),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,3),(0,5),(1,5),(1,6),(1,7),(3,6),(3,7),(6,4),(7,2),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,6),(1,7),(3,5),(4,2),(4,5),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,5),(1,6),(3,7),(4,2),(4,7),(5,7),(6,3),(6,4)],8)=>([(0,1)],2)
([(0,3),(0,6),(1,4),(1,5),(1,6),(3,4),(3,5),(4,7),(5,2),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,3),(0,6),(1,4),(1,5),(1,6),(2,5),(2,7),(3,2),(3,4),(4,7),(6,7)],8)=>([(0,1)],2)
([(0,5),(0,6),(1,4),(1,6),(3,2),(3,7),(4,3),(4,5),(5,7),(6,7)],8)=>([(0,1)],2)
([(0,7),(1,5),(1,6),(2,4),(2,5),(2,6),(4,7),(5,7),(6,3),(6,7)],8)=>([(0,1)],2)
([(0,4),(1,5),(1,6),(2,4),(2,5),(2,6),(4,7),(5,7),(6,3),(6,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(1,4),(1,7),(2,4),(2,5),(2,6),(5,7),(6,3),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(1,3),(1,5),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,7),(1,3),(1,5),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7)],8)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,7),(1,3),(1,4),(3,7),(4,5),(4,7),(5,2),(5,6),(7,6)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,2),(1,4),(2,6),(2,7),(3,5),(3,6),(4,3),(4,7),(7,5)],8)=>([(0,1)],2)
([(1,3),(1,4),(3,5),(3,7),(4,5),(4,7),(5,6),(7,2),(7,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,4),(3,5),(3,6),(4,5),(4,6),(5,7),(6,2),(6,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,3),(1,4),(3,6),(3,7),(4,6),(4,7),(6,2),(6,5),(7,5)],8)=>([],1)
([(0,2),(0,3),(1,4),(1,7),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5),(7,5)],8)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(1,7),(2,6),(2,7),(3,6),(3,7),(6,4),(6,5)],8)=>([(0,1)],2)
([(0,5),(0,7),(1,3),(1,4),(3,6),(3,7),(4,6),(4,7),(6,2),(6,5)],8)=>([(0,1)],2)
([(0,5),(1,5),(1,6),(1,7),(2,3),(2,4),(3,6),(3,7),(4,6),(4,7)],8)=>([],1)
([(0,6),(1,3),(1,7),(2,6),(2,7),(3,4),(3,5),(7,4),(7,5)],8)=>([(0,3),(1,5),(2,5),(3,4),(4,1),(4,2)],6)
([(0,6),(0,7),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(3,7),(4,2),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(0,7),(1,3),(1,4),(2,5),(2,6),(3,5),(3,6),(3,7),(4,2),(4,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,2),(1,7),(2,3),(2,6),(3,4),(3,5),(7,4),(7,5),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,6),(1,7),(3,2),(3,5),(6,3),(6,4),(7,4),(7,5)],8)=>([],1)
([(0,3),(0,7),(1,6),(1,7),(3,5),(3,6),(6,2),(6,4),(7,4),(7,5)],8)=>([],1)
([(0,2),(0,7),(1,5),(1,7),(2,3),(2,6),(3,4),(3,5),(7,4),(7,6)],8)=>([],1)
([(0,7),(1,4),(1,7),(3,2),(3,5),(4,3),(4,6),(7,5),(7,6)],8)=>([],1)
([(0,6),(0,7),(1,3),(1,5),(3,6),(3,7),(4,2),(4,7),(5,4),(5,6)],8)=>([(0,3),(2,1),(3,2)],4)
([(1,4),(1,5),(2,3),(2,5),(2,6),(4,6),(4,7),(5,7)],8)=>([(0,2),(2,1)],3)
([(0,6),(1,3),(1,7),(2,5),(2,6),(2,7),(3,4),(3,5),(7,4)],8)=>([(0,4),(1,7),(2,6),(3,1),(3,6),(4,5),(5,2),(5,3),(6,7)],8)
([(0,7),(1,3),(1,7),(2,5),(2,6),(3,4),(3,5),(3,6),(7,4)],8)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,4),(1,5),(1,6),(2,4),(2,7),(3,5),(3,6),(3,7)],8)=>([],1)
([(0,2),(0,3),(0,6),(1,4),(1,6),(1,7),(2,5),(2,7),(3,4),(3,5),(3,7)],8)=>([],1)
([(0,6),(0,7),(1,3),(1,6),(1,7),(3,4),(3,5),(7,2),(7,4),(7,5)],8)=>([],1)
([(0,5),(0,6),(0,7),(1,5),(1,6),(1,7),(5,4),(6,2),(6,3),(7,2),(7,3),(7,4)],8)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,2),(1,6),(1,7),(2,4),(2,5),(6,3),(7,3),(7,4),(7,5)],8)=>([(0,2),(2,1)],3)
([(0,4),(0,6),(0,7),(1,2),(1,3),(1,4),(2,6),(2,7),(3,5),(3,6),(3,7),(4,5)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,2),(1,3),(1,6),(2,5),(2,7),(3,4),(3,5),(3,7),(6,4)],8)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,4),(2,5),(2,6),(2,7),(3,4),(3,5),(3,6),(3,7)],8)=>([(0,2),(2,1)],3)
([(0,7),(1,5),(1,6),(2,3),(2,4),(3,7),(4,5),(4,6),(4,7)],8)=>([(0,1)],2)
([(0,5),(1,5),(2,7),(3,8),(4,6),(5,8),(7,6),(8,7)],9)=>([],1)
([(0,7),(1,6),(2,6),(3,5),(4,5),(5,8),(6,8),(8,7)],9)=>([],1)
([(0,8),(1,7),(2,8),(3,4),(4,6),(5,3),(6,2),(7,5)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,7),(1,3),(2,8),(3,8),(4,6),(5,4),(6,2),(7,5)],9)=>([(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,7),(1,5),(2,5),(3,6),(4,6),(5,8),(6,7),(7,8)],9)=>([],1)
([(0,7),(1,6),(2,8),(3,8),(4,5),(5,3),(6,4),(7,2)],9)=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15)
([(0,7),(1,6),(2,8),(3,8),(4,2),(5,3),(6,4),(7,5)],9)=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16)
([(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)
([(0,7),(1,8),(2,7),(2,8),(4,5),(5,3),(6,5),(7,6),(8,4),(8,6)],9)=>([],1)
([(0,4),(1,6),(1,7),(2,5),(2,7),(3,5),(3,6),(4,1),(4,2),(4,3),(5,8),(6,8),(7,8)],9)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(1,7),(2,6),(3,5),(4,5),(4,6),(5,8),(6,8),(8,7)],9)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,5),(2,5),(3,7),(4,6),(5,6),(5,7),(6,8),(7,8)],9)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,5),(2,6),(3,6),(4,5),(4,7),(5,8),(6,7),(7,8)],9)=>([],1)
([(0,3),(0,4),(1,7),(2,6),(3,8),(4,8),(5,1),(5,6),(6,7),(8,2),(8,5)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,1),(5,7),(7,8),(8,2),(8,3)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(1,6),(2,7),(3,4),(3,6),(4,2),(4,8),(5,1),(5,3),(6,8),(8,7)],9)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,5),(1,7),(2,8),(3,6),(4,3),(4,8),(5,2),(5,4),(6,7),(8,1),(8,6)],9)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(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)=>([],1)
([(0,3),(0,5),(2,8),(3,6),(4,2),(4,7),(5,4),(5,6),(6,7),(7,8),(8,1)],9)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(0,5),(1,6),(3,7),(4,8),(5,1),(5,8),(6,7),(7,2),(8,3),(8,6)],9)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,3),(0,4),(2,6),(2,7),(3,5),(3,7),(4,5),(4,6),(5,8),(6,8),(7,8),(8,1)],9)=>([(0,1)],2)
([(0,3),(0,4),(1,8),(2,7),(2,8),(3,1),(3,5),(4,2),(4,5),(5,7),(5,8),(7,6),(8,6)],9)=>([],1)
([(0,2),(0,3),(1,6),(2,7),(2,8),(3,1),(3,7),(3,8),(5,4),(6,4),(7,5),(8,5),(8,6)],9)=>([],1)
([(0,2),(0,3),(1,5),(1,6),(2,7),(2,8),(3,1),(3,7),(3,8),(5,4),(6,4),(7,6),(8,5)],9)=>([],1)
([(0,6),(3,8),(4,5),(4,8),(5,1),(5,7),(6,3),(6,4),(8,2),(8,7)],9)=>([],1)
([(0,2),(0,8),(3,5),(4,3),(5,7),(6,4),(7,1),(8,6)],9)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,2),(0,7),(2,8),(3,4),(4,6),(5,3),(6,1),(7,5),(7,8)],9)=>([(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,7),(0,8),(3,4),(4,6),(5,3),(6,2),(7,5),(8,1)],9)=>([(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,2),(0,6),(2,7),(3,5),(4,3),(4,8),(5,1),(6,4),(6,7),(7,8)],9)=>([(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,6),(0,7),(3,5),(4,3),(5,2),(6,4),(6,8),(7,1),(7,8)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(0,8),(3,5),(4,3),(5,2),(6,1),(7,6),(8,4)],9)=>([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15)
([(0,2),(0,5),(2,6),(3,4),(3,8),(4,1),(4,7),(5,3),(5,6),(6,8),(8,7)],9)=>([(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,5),(0,6),(3,4),(3,8),(4,2),(5,3),(5,7),(6,1),(6,7),(7,8)],9)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,5),(0,6),(2,8),(3,4),(4,1),(5,3),(5,7),(6,2),(6,7),(7,8)],9)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(3,4),(4,1),(5,2),(6,5),(6,8),(7,3),(7,8)],9)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,7),(0,8),(3,5),(4,6),(5,2),(6,1),(7,3),(8,4)],9)=>([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16)
([(0,4),(0,5),(2,7),(3,2),(3,8),(4,3),(4,6),(5,1),(5,6),(6,8),(8,7)],9)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(2,7),(3,1),(3,8),(4,2),(4,6),(5,3),(5,6),(6,7),(6,8)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(3,1),(4,2),(4,8),(5,3),(5,7),(6,4),(6,7),(7,8)],9)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,8),(1,4),(1,8),(3,6),(4,2),(4,7),(6,5),(7,5),(8,6),(8,7)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,7),(2,8),(3,4),(3,8),(4,6),(4,7),(6,5),(7,5),(8,6)],9)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,7),(2,6),(3,2),(3,8),(4,7),(4,8),(7,5),(8,5),(8,6)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(1,3),(1,8),(2,7),(2,8),(3,6),(5,4),(6,4),(7,5),(8,5),(8,6)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,8),(1,4),(1,8),(2,3),(2,7),(3,5),(4,2),(4,6),(6,7),(7,5),(8,6)],9)=>([(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,3),(0,4),(1,2),(1,8),(2,6),(3,7),(4,7),(4,8),(7,5),(8,5),(8,6)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,8),(1,4),(1,8),(2,5),(3,6),(4,2),(4,7),(7,5),(8,6),(8,7)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(1,3),(1,8),(2,8),(3,7),(4,5),(5,2),(6,4),(8,7)],9)=>([(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,5),(0,8),(1,4),(2,7),(3,8),(4,3),(5,2),(5,6),(6,7),(8,6)],9)=>([(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,3),(1,6),(2,6),(2,8),(3,5),(4,8),(5,4),(6,7),(8,7)],9)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(1,7),(2,4),(2,8),(3,8),(4,6),(4,7),(6,5),(7,5),(8,6)],9)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,5),(1,3),(1,4),(2,6),(3,7),(4,6),(4,7),(5,2),(6,8),(7,8)],9)=>([(0,2),(2,1)],3)
([(0,6),(0,8),(1,3),(2,4),(3,8),(4,5),(5,6),(6,7),(8,7)],9)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(1,8),(2,4),(2,8),(3,7),(4,6),(4,7),(6,5),(7,5),(8,6)],9)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,3),(0,4),(1,5),(1,8),(2,5),(2,8),(3,2),(3,6),(4,1),(4,6),(5,7),(6,8),(8,7)],9)=>([],1)
([(0,8),(1,7),(2,7),(2,9),(3,8),(3,9),(5,4),(6,4),(7,5),(8,6),(9,5),(9,6)],10)=>([],1)
([(0,2),(0,3),(0,4),(1,7),(1,9),(2,8),(3,5),(3,8),(4,1),(4,5),(4,8),(5,7),(5,9),(7,6),(8,9),(9,6)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(3,8),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(1,7),(1,8),(2,5),(2,8),(3,5),(3,7),(5,9),(6,4),(7,6),(7,9),(8,6),(8,9),(9,4)],10)=>([(0,1)],2)
([(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,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,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,4),(2,3),(3,1),(4,2)],5)
([(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)=>([],1)
([(0,6),(0,7),(1,9),(2,8),(3,5),(4,2),(5,1),(5,8),(6,3),(7,4),(8,9)],10)=>([(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,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,4),(2,3),(3,1),(4,2)],5)
([(0,5),(1,6),(2,9),(3,6),(3,9),(4,7),(5,1),(5,2),(5,3),(6,8),(8,7),(9,4),(9,8)],10)=>([],1)
([(0,3),(0,7),(1,8),(2,8),(3,9),(4,5),(5,1),(6,2),(7,4),(7,9),(9,6)],10)=>([(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,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,5),(1,7),(2,7),(4,6),(5,4),(6,1),(6,2),(7,3)],8)
([(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,4),(2,3),(3,1),(4,2)],5)
([(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,6),(2,7),(3,7),(4,1),(5,4),(6,2),(6,3),(7,5)],8)
([(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,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(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)=>([],1)
([(0,1),(0,2),(1,8),(1,9),(2,8),(2,9),(4,3),(5,3),(6,4),(6,5),(7,4),(7,5),(8,6),(8,7),(9,6),(9,7)],10)=>([(0,3),(2,1),(3,2)],4)
([(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)
([(0,5),(0,6),(3,2),(3,8),(4,1),(4,9),(5,3),(5,7),(6,4),(6,7),(7,8),(7,9)],10)=>([],1)
([(0,3),(0,4),(1,6),(1,8),(2,6),(2,7),(3,5),(4,1),(4,2),(4,5),(5,7),(5,8),(6,9),(7,9),(8,9)],10)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(0,4),(1,7),(2,6),(2,8),(3,5),(3,8),(4,5),(4,6),(5,9),(6,9),(8,1),(8,9),(9,7)],10)=>([(0,2),(2,1)],3)
([(0,5),(2,7),(2,8),(3,6),(3,8),(4,6),(4,7),(5,2),(5,3),(5,4),(6,9),(7,9),(8,9),(9,1)],10)=>([(0,1)],2)
([(0,4),(1,7),(1,8),(2,6),(2,8),(3,6),(3,7),(4,5),(5,1),(5,2),(5,3),(6,9),(7,9),(8,9)],10)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(2,7),(2,8),(3,6),(3,8),(4,6),(4,7),(5,1),(6,9),(7,9),(8,9),(9,5)],10)=>([(0,1)],2)
([(0,2),(0,9),(3,4),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
([(0,2),(0,8),(2,9),(3,5),(4,3),(5,7),(6,4),(7,1),(8,6),(8,9)],10)=>([(0,7),(1,8),(2,9),(3,5),(3,8),(4,6),(4,10),(5,4),(5,12),(6,2),(6,11),(7,1),(7,3),(8,12),(10,11),(11,9),(12,10)],13)
([(0,8),(0,9),(3,5),(4,3),(5,7),(6,4),(7,2),(8,6),(9,1)],10)=>([(0,2),(0,7),(1,9),(2,8),(3,4),(3,11),(4,6),(4,10),(5,3),(5,13),(6,1),(6,12),(7,5),(7,8),(8,13),(10,12),(11,10),(12,9),(13,11)],14)
([(0,2),(0,7),(2,8),(3,4),(4,6),(5,3),(5,9),(6,1),(7,5),(7,8),(8,9)],10)=>([(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,7),(0,8),(3,4),(4,6),(5,3),(6,2),(7,5),(7,9),(8,1),(8,9)],10)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,8),(0,9),(3,4),(4,6),(5,3),(6,2),(7,1),(8,7),(9,5)],10)=>([(0,6),(0,7),(1,11),(2,5),(2,15),(3,13),(4,3),(4,17),(5,4),(5,16),(6,2),(6,14),(7,1),(7,14),(9,12),(10,9),(11,10),(12,8),(13,8),(14,11),(14,15),(15,10),(15,16),(16,9),(16,17),(17,12),(17,13)],18)
([(0,2),(0,6),(2,7),(3,1),(4,3),(4,8),(5,4),(5,9),(6,5),(6,7),(7,9),(9,8)],10)=>([(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,6),(0,7),(3,5),(4,3),(4,9),(5,2),(6,4),(6,8),(7,1),(7,8),(8,9)],10)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,6),(0,7),(2,9),(3,5),(4,3),(5,1),(6,4),(6,8),(7,2),(7,8),(8,9)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(0,8),(3,5),(4,3),(5,2),(6,1),(7,6),(7,9),(8,4),(8,9)],10)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,8),(0,9),(3,7),(4,3),(5,6),(6,1),(7,2),(8,4),(9,5)],10)=>([(0,6),(0,7),(1,4),(1,16),(2,5),(2,15),(3,13),(4,12),(5,3),(5,19),(6,1),(6,17),(7,2),(7,17),(9,11),(10,8),(11,8),(12,9),(13,10),(14,9),(14,18),(15,14),(15,19),(16,12),(16,14),(17,15),(17,16),(18,10),(18,11),(19,13),(19,18)],20)
([(0,5),(0,6),(3,4),(3,9),(4,2),(4,8),(5,3),(5,7),(6,1),(6,7),(7,9),(9,8)],10)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,5),(0,6),(2,9),(3,1),(4,3),(4,8),(5,4),(5,7),(6,2),(6,7),(7,8),(7,9)],10)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,6),(0,7),(3,4),(3,9),(4,1),(5,2),(6,5),(6,8),(7,3),(7,8),(8,9)],10)=>([(0,3),(0,4),(1,6),(1,8),(2,6),(2,7),(3,5),(4,1),(4,2),(4,5),(5,7),(5,8),(6,9),(7,9),(8,9)],10)
([(0,6),(0,7),(3,4),(4,1),(5,2),(5,9),(6,5),(6,8),(7,3),(7,8),(8,9)],10)=>([(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,7),(0,8),(3,5),(4,6),(5,2),(6,1),(7,3),(7,9),(8,4),(8,9)],10)=>([(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,4),(0,5),(1,8),(2,7),(3,2),(3,9),(4,3),(4,6),(5,1),(5,6),(6,8),(6,9),(9,7)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,5),(0,6),(2,8),(3,1),(4,2),(4,9),(5,3),(5,7),(6,4),(6,7),(7,9),(9,8)],10)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,5),(2,7),(3,1),(3,8),(4,2),(4,6),(5,3),(5,6),(6,7),(6,8),(7,9),(8,9)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,7),(2,8),(3,2),(3,9),(4,7),(4,9),(6,5),(7,6),(8,5),(9,6),(9,8)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,9),(1,4),(1,9),(2,5),(3,2),(3,8),(4,7),(7,6),(8,5),(8,6),(9,7),(9,8)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,2),(1,9),(2,8),(3,7),(4,7),(4,9),(6,5),(7,6),(8,5),(9,6),(9,8)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,9),(1,8),(2,9),(3,5),(4,3),(5,7),(6,4),(7,2),(8,6)],10)=>([(0,7),(2,4),(3,2),(4,6),(5,3),(6,1),(7,5)],8)
([(0,7),(1,3),(1,9),(2,9),(3,8),(4,6),(5,4),(6,2),(7,5),(9,8)],10)=>([(0,3),(0,7),(1,9),(3,8),(4,6),(4,10),(5,4),(5,12),(6,1),(6,11),(7,5),(7,8),(8,12),(9,2),(10,11),(11,9),(12,10)],13)
([(0,8),(1,3),(2,9),(3,9),(4,5),(5,7),(6,4),(7,2),(8,6)],10)=>([(0,2),(0,7),(1,9),(2,8),(3,4),(3,11),(4,6),(4,10),(5,3),(5,13),(6,1),(6,12),(7,5),(7,8),(8,13),(10,12),(11,10),(12,9),(13,11)],14)
([(0,5),(1,6),(1,9),(2,8),(3,9),(4,3),(5,4),(6,2),(6,7),(7,8),(9,7)],10)=>([(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,9),(1,8),(1,9),(2,6),(3,8),(4,5),(5,3),(6,4),(8,7),(9,7)],10)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,8),(1,7),(2,9),(3,9),(4,6),(5,4),(6,3),(7,5),(8,2)],10)=>([(0,6),(0,7),(1,11),(2,5),(2,15),(3,13),(4,3),(4,17),(5,4),(5,16),(6,2),(6,14),(7,1),(7,14),(9,12),(10,9),(11,10),(12,8),(13,8),(14,11),(14,15),(15,10),(15,16),(16,9),(16,17),(17,12),(17,13)],18)
([(0,5),(0,9),(1,3),(2,7),(3,9),(4,2),(4,8),(5,4),(5,6),(6,8),(8,7),(9,6)],10)=>([(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,3),(1,8),(2,5),(2,9),(3,4),(4,9),(5,7),(5,8),(7,6),(8,6),(9,7)],10)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,6),(1,3),(1,4),(2,7),(3,8),(4,7),(4,8),(5,2),(6,5),(7,9),(8,9)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,7),(0,8),(1,6),(2,4),(3,7),(4,8),(5,3),(6,5),(7,9),(8,9)],10)=>([(0,2),(0,4),(1,6),(2,5),(3,1),(3,7),(4,3),(4,5),(5,7),(7,6)],8)
([(0,7),(1,8),(2,9),(3,9),(4,5),(5,2),(6,3),(7,6),(8,4)],10)=>([(0,6),(0,7),(1,4),(1,16),(2,5),(2,15),(3,13),(4,12),(5,3),(5,19),(6,1),(6,17),(7,2),(7,17),(9,11),(10,8),(11,8),(12,9),(13,10),(14,9),(14,18),(15,14),(15,19),(16,12),(16,14),(17,15),(17,16),(18,10),(18,11),(19,13),(19,18)],20)
([(0,9),(1,8),(2,3),(2,9),(3,4),(3,7),(4,6),(4,8),(6,5),(7,6),(8,5),(9,7)],10)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,4),(1,3),(1,9),(2,7),(2,9),(3,8),(4,7),(6,5),(7,6),(8,5),(9,6),(9,8)],10)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,3),(1,4),(2,5),(2,9),(3,8),(4,9),(5,7),(5,8),(7,6),(8,6),(9,7)],10)=>([(0,2),(0,3),(0,4),(1,7),(2,6),(2,8),(3,5),(3,8),(4,5),(4,6),(5,9),(6,9),(8,1),(8,9),(9,7)],10)
([(0,3),(1,9),(2,5),(2,9),(3,4),(4,8),(5,7),(5,8),(7,6),(8,6),(9,7)],10)=>([(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,7),(0,8),(1,6),(2,5),(3,7),(4,8),(5,3),(6,4),(7,9),(8,9)],10)=>([(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,4),(1,3),(1,5),(2,6),(2,8),(3,7),(4,6),(5,2),(5,7),(6,9),(7,8),(8,9)],10)=>([(0,2),(0,3),(1,5),(2,4),(3,1),(3,4),(4,5)],6)
([(0,4),(0,6),(1,9),(2,9),(4,8),(5,2),(5,7),(6,5),(6,8),(7,9),(8,1),(8,7),(9,3)],10)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(2,6),(3,8),(4,9),(5,7),(6,9),(8,7),(9,8)],10)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,7),(3,7),(4,6),(5,6),(6,9),(7,9),(9,8)],10)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,7),(6,9),(7,8),(8,9)],10)=>([],1)
([(0,2),(0,4),(1,8),(2,5),(2,6),(3,1),(3,7),(3,9),(4,3),(4,5),(4,6),(5,9),(6,7),(6,9),(7,8),(9,8)],10)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,5),(1,8),(2,6),(2,7),(3,1),(3,6),(3,7),(4,9),(5,9),(6,4),(6,8),(7,4),(7,5),(7,8),(8,9)],10)=>([(0,1)],2)
([(0,2),(0,3),(1,4),(1,5),(2,7),(2,8),(3,1),(3,7),(3,8),(4,9),(5,9),(6,9),(7,5),(7,6),(8,4),(8,6)],10)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(1,9),(2,5),(2,7),(3,5),(3,6),(4,1),(4,6),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11)=>([],1)
([(0,1),(0,2),(0,3),(1,5),(1,6),(2,6),(2,7),(2,8),(3,5),(3,7),(3,8),(5,9),(5,10),(6,9),(6,10),(7,10),(8,9),(8,10),(9,4),(10,4)],11)=>([],1)
([(0,2),(0,3),(0,4),(1,9),(1,10),(2,6),(2,7),(3,5),(3,6),(4,1),(4,5),(4,7),(5,10),(6,9),(6,10),(7,9),(7,10),(9,8),(10,8)],11)=>([],1)
([(0,5),(0,6),(1,8),(2,9),(3,8),(3,9),(4,1),(5,4),(6,7),(7,2),(7,3),(8,10),(9,10)],11)=>([(0,2),(2,1)],3)
([(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,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,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,4),(2,3),(3,1),(4,2)],5)
([(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,5),(1,7),(2,7),(4,6),(5,4),(6,1),(6,2),(7,3)],8)
([(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,4),(2,3),(3,1),(4,2)],5)
([(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)=>([],1)
([(0,5),(1,6),(2,7),(2,9),(3,7),(3,8),(4,2),(4,3),(4,6),(5,1),(5,4),(6,8),(6,9),(7,10),(8,10),(9,10)],11)=>([(0,2),(2,1)],3)
([(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)=>([],1)
([(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,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,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,6),(2,7),(3,7),(4,1),(5,4),(6,2),(6,3),(7,5)],8)
([(0,6),(1,6),(2,8),(3,9),(4,10),(5,7),(6,10),(8,9),(9,7),(10,8)],11)=>([],1)
([(0,9),(1,8),(2,7),(3,7),(4,6),(5,6),(6,10),(7,10),(8,9),(10,8)],11)=>([],1)
([(0,8),(1,9),(2,6),(3,6),(4,7),(5,7),(6,10),(7,8),(8,10),(10,9)],11)=>([],1)
([(0,9),(1,8),(2,6),(3,6),(4,7),(5,7),(6,10),(7,8),(8,9),(9,10)],11)=>([],1)
([(0,8),(1,8),(2,7),(3,7),(4,6),(5,6),(6,10),(7,9),(8,9),(9,10)],11)=>([],1)
([(0,9),(1,8),(2,6),(3,6),(4,7),(5,7),(6,8),(7,9),(8,10),(9,10)],11)=>([],1)
([(0,3),(0,4),(0,5),(1,6),(2,6),(3,8),(3,9),(4,7),(4,9),(5,7),(5,8),(7,10),(8,10),(9,10),(10,1),(10,2)],11)=>([(0,1)],2)
([(0,5),(1,8),(2,7),(2,9),(3,6),(3,9),(4,6),(4,7),(5,2),(5,3),(5,4),(6,10),(7,10),(9,1),(9,10),(10,8)],11)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(0,5),(2,9),(3,7),(3,8),(4,6),(4,8),(5,6),(5,7),(6,10),(7,10),(8,2),(8,10),(9,1),(10,9)],11)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(2,7),(2,9),(3,7),(3,8),(4,6),(5,2),(5,3),(5,6),(6,8),(6,9),(7,10),(8,10),(9,10),(10,1)],11)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,7),(1,8),(2,6),(2,8),(3,6),(3,7),(4,9),(5,9),(6,10),(7,10),(8,10),(9,1),(9,2),(9,3)],11)=>([(0,1)],2)
([(0,4),(0,5),(1,8),(2,7),(3,2),(3,9),(4,3),(4,6),(5,1),(5,6),(6,8),(6,9),(8,10),(9,7),(9,10)],11)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,10),(1,4),(1,10),(2,7),(3,8),(4,2),(4,9),(6,5),(7,5),(8,6),(9,6),(9,7),(10,8),(10,9)],11)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(1,10),(2,8),(3,8),(4,2),(5,4),(6,5),(6,9),(7,1),(7,9),(9,10),(10,3)],11)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(0,4),(1,9),(2,8),(3,8),(3,10),(4,9),(4,10),(6,5),(7,5),(8,6),(9,7),(10,6),(10,7)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,6),(3,7),(4,7),(5,6),(5,9),(6,10),(7,8),(8,9),(9,10)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,6),(3,6),(4,7),(5,7),(6,9),(7,8),(7,9),(8,10),(9,10)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(2,6),(3,8),(4,7),(5,9),(6,9),(7,10),(8,10),(9,7),(9,8)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(2,8),(3,7),(4,6),(5,6),(5,7),(6,10),(7,10),(8,9),(10,8)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(2,6),(3,7),(4,7),(5,6),(5,8),(6,10),(7,8),(8,10),(10,9)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,6),(2,6),(3,9),(4,8),(5,7),(6,8),(6,9),(8,10),(9,10),(10,7)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(1,9),(2,7),(3,7),(4,6),(5,6),(6,9),(7,8),(8,10),(9,10)],11)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,7),(3,6),(4,6),(5,7),(5,8),(6,10),(7,9),(8,9),(9,10)],11)=>([],1)
([(0,3),(0,4),(1,10),(2,7),(2,8),(3,1),(3,5),(3,6),(4,2),(4,5),(4,6),(5,8),(5,10),(6,7),(6,10),(7,9),(8,9),(10,9)],11)=>([],1)
([(0,2),(0,3),(1,8),(1,9),(2,5),(2,6),(2,7),(3,1),(3,5),(3,6),(3,7),(4,10),(5,8),(5,9),(6,4),(6,9),(7,4),(7,8),(8,10),(9,10)],11)=>([],1)
([(0,2),(0,3),(1,5),(1,9),(2,6),(2,7),(2,8),(3,1),(3,6),(3,7),(3,8),(4,10),(5,10),(6,9),(7,4),(7,9),(8,4),(8,5),(9,10)],11)=>([],1)
([(0,10),(1,9),(2,8),(3,8),(3,9),(3,10),(5,11),(6,11),(7,11),(8,5),(8,6),(9,5),(9,7),(10,6),(10,7),(11,4)],12)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,10),(4,5),(4,6),(4,10),(5,9),(5,11),(6,9),(6,11),(7,9),(7,11),(9,8),(10,11),(11,8)],12)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(0,4),(1,6),(1,11),(2,5),(2,11),(3,5),(3,7),(3,11),(4,6),(4,7),(4,11),(5,9),(6,10),(7,9),(7,10),(9,8),(10,8),(11,9),(11,10)],12)=>([(0,1)],2)
([(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,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,7),(2,9),(2,11),(3,2),(3,10),(4,3),(4,6),(5,1),(5,6),(6,7),(6,10),(7,11),(9,8),(10,9),(10,11),(11,8)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,1),(0,2),(1,4),(1,10),(2,3),(2,10),(3,5),(3,8),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,8),(10,9),(11,6)],12)=>([(0,1)],2)
([(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,8),(1,14),(3,13),(4,12),(5,11),(6,7),(6,12),(7,5),(7,9),(8,4),(8,6),(9,11),(9,13),(10,14),(11,10),(12,3),(12,9),(13,1),(13,10),(14,2)],15)
([(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)=>([],1)
([(0,7),(0,8),(1,9),(2,10),(3,6),(3,9),(4,3),(5,1),(6,2),(6,11),(7,4),(8,5),(9,11),(11,10)],12)=>([(0,7),(0,8),(2,6),(2,17),(3,14),(4,9),(5,11),(6,5),(6,15),(7,2),(7,16),(8,3),(8,16),(9,1),(10,13),(11,12),(12,9),(13,4),(13,12),(14,10),(15,11),(15,13),(16,14),(16,17),(17,10),(17,15)],18)
([(0,3),(0,8),(1,10),(2,10),(3,9),(4,6),(5,4),(5,11),(6,2),(7,1),(8,5),(8,9),(9,11),(11,7)],12)=>([(0,1),(1,2),(1,4),(2,11),(3,8),(3,15),(4,7),(4,11),(5,14),(6,13),(7,6),(7,17),(8,5),(8,16),(10,12),(11,3),(11,17),(12,9),(13,10),(14,9),(15,10),(15,16),(16,12),(16,14),(17,13),(17,15)],18)
([(0,3),(0,8),(1,10),(2,9),(3,11),(4,2),(5,4),(6,7),(7,1),(7,9),(8,5),(8,11),(9,10),(11,6)],12)=>([(0,8),(1,10),(2,11),(4,6),(4,9),(5,2),(5,9),(6,7),(6,13),(7,1),(7,12),(8,4),(8,5),(9,11),(9,13),(10,16),(11,14),(12,10),(12,15),(13,12),(13,14),(14,15),(15,16),(16,3)],17)
([(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)=>([],1)
([(0,3),(0,4),(1,2),(1,11),(2,8),(3,9),(3,10),(4,1),(4,9),(4,10),(6,7),(7,5),(8,5),(9,6),(10,6),(10,11),(11,7),(11,8)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(1,5),(1,6),(2,10),(2,11),(3,1),(3,10),(3,11),(5,8),(6,7),(7,4),(8,4),(9,7),(9,8),(10,6),(10,9),(11,5),(11,9)],12)=>([(0,1)],2)
([(0,2),(0,3),(1,8),(2,10),(2,11),(3,1),(3,10),(3,11),(5,6),(6,4),(7,4),(8,7),(9,6),(9,7),(10,5),(10,9),(11,5),(11,8),(11,9)],12)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,5),(1,9),(2,10),(2,11),(3,1),(3,10),(3,11),(5,7),(6,8),(7,4),(8,4),(9,7),(9,8),(10,5),(10,6),(11,6),(11,9)],12)=>([(0,1)],2)
([(0,3),(0,4),(1,2),(1,10),(1,11),(2,8),(2,9),(3,6),(3,7),(4,1),(4,6),(4,7),(6,11),(7,10),(8,5),(9,5),(10,8),(11,9)],12)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,1),(0,2),(1,10),(1,11),(2,10),(2,11),(4,3),(5,3),(6,8),(6,9),(7,8),(7,9),(8,4),(8,5),(9,4),(9,5),(10,6),(10,7),(11,6),(11,7)],12)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(1,9),(1,10),(2,8),(2,10),(3,8),(3,9),(7,1),(7,2),(7,3),(8,6),(8,11),(9,4),(9,11),(10,5),(10,11)],12)=>([],1)
([(0,2),(0,3),(0,4),(1,5),(1,6),(2,7),(2,9),(3,7),(3,8),(4,1),(4,8),(4,9),(5,11),(6,11),(7,10),(8,5),(8,10),(9,6),(9,10),(10,11)],12)=>([],1)
([(0,4),(0,5),(1,9),(1,10),(2,8),(2,10),(3,7),(4,6),(5,1),(5,2),(5,6),(6,8),(6,9),(8,11),(9,11),(10,3),(10,11),(11,7)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,6),(1,9),(2,6),(2,8),(3,7),(4,5),(4,7),(5,1),(5,2),(5,10),(6,11),(7,10),(8,11),(9,11),(10,8),(10,9)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(0,3),(0,4),(1,10),(2,6),(2,7),(3,7),(3,8),(4,6),(4,8),(5,1),(5,9),(6,11),(7,11),(8,5),(8,11),(9,10),(11,9)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,3),(0,4),(0,5),(1,9),(2,8),(3,7),(3,10),(4,6),(4,10),(5,6),(5,7),(6,11),(7,11),(8,9),(10,2),(10,11),(11,1),(11,8)],12)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,8),(2,7),(2,9),(3,7),(3,10),(4,6),(5,2),(5,3),(5,6),(6,9),(6,10),(7,11),(9,11),(10,1),(10,11),(11,8)],12)=>([(0,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,7),(1,9),(2,7),(2,8),(3,6),(4,10),(5,3),(5,10),(6,8),(6,9),(7,11),(8,11),(9,11),(10,1),(10,2),(10,6)],12)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(2,9),(3,11),(4,9),(4,10),(5,8),(5,11),(7,8),(8,6),(9,7),(10,7),(11,6)],12)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,8),(2,7),(3,10),(4,9),(5,9),(5,10),(7,6),(8,6),(9,11),(10,11),(11,7),(11,8)],12)=>([],1)
([(0,4),(0,5),(1,11),(2,8),(2,10),(3,1),(3,10),(4,2),(4,6),(5,3),(5,6),(6,8),(6,10),(8,9),(8,11),(9,7),(10,9),(10,11),(11,7)],12)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(1,3),(1,10),(2,4),(2,10),(3,8),(3,9),(4,5),(4,9),(5,11),(7,6),(8,7),(8,11),(9,7),(9,11),(10,5),(10,8),(11,6)],12)=>([(0,1)],2)
([(0,5),(0,6),(1,8),(1,10),(2,8),(2,10),(3,2),(3,11),(4,1),(4,11),(5,3),(5,7),(6,4),(6,7),(7,11),(8,9),(10,9),(11,10)],12)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,2),(0,4),(1,11),(2,5),(2,6),(2,7),(3,1),(3,8),(3,9),(3,10),(4,3),(4,5),(4,6),(4,7),(5,9),(5,10),(6,8),(6,10),(7,8),(7,9),(8,11),(9,11),(10,11)],12)=>([(0,2),(2,1)],3)
([(0,3),(0,4),(1,8),(1,10),(2,7),(2,9),(3,2),(3,5),(3,6),(4,1),(4,5),(4,6),(5,9),(5,10),(6,7),(6,8),(6,9),(6,10),(7,11),(8,11),(9,11),(10,11)],12)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(1,5),(1,10),(2,8),(2,9),(2,10),(3,7),(3,9),(3,10),(4,5),(4,7),(4,8),(5,11),(7,11),(7,12),(8,11),(8,12),(9,12),(10,11),(10,12),(11,6),(12,6)],13)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,9),(2,10),(3,6),(3,9),(4,7),(4,9),(4,10),(5,1),(5,6),(5,7),(5,10),(6,11),(6,12),(7,11),(7,12),(9,12),(10,11),(10,12),(11,8),(12,8)],13)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,11),(1,12),(2,7),(2,10),(3,6),(3,10),(4,6),(4,8),(4,10),(5,1),(5,7),(5,8),(5,10),(6,12),(7,11),(7,12),(8,11),(8,12),(10,11),(10,12),(11,9),(12,9)],13)=>([],1)
([(0,6),(0,7),(1,9),(2,12),(3,9),(3,12),(4,10),(5,1),(6,5),(7,8),(8,2),(8,3),(9,11),(11,10),(12,4),(12,11)],13)=>([(0,2),(2,1)],3)
([(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,3),(2,1),(3,2)],4)
([(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,7),(2,9),(3,9),(4,1),(5,8),(6,4),(7,5),(8,2),(8,3),(9,6)],10)
([(0,6),(1,12),(2,11),(3,11),(3,12),(4,8),(5,9),(6,1),(6,2),(6,3),(7,8),(7,9),(8,10),(9,10),(11,4),(11,7),(12,5),(12,7)],13)=>([(0,1)],2)
([(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,7),(2,9),(3,9),(4,1),(5,8),(6,4),(7,5),(8,2),(8,3),(9,6)],10)
([(0,3),(0,4),(1,11),(2,10),(3,2),(3,9),(4,1),(4,9),(5,7),(5,8),(6,12),(7,12),(8,12),(9,5),(9,10),(9,11),(10,6),(10,7),(11,6),(11,8)],13)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(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,3),(2,1),(3,2)],4)
([(0,3),(0,4),(1,9),(2,6),(2,11),(3,2),(3,10),(3,12),(4,1),(4,10),(4,12),(6,7),(7,5),(8,5),(9,8),(10,6),(11,7),(11,8),(12,9),(12,11)],13)=>([],1)
([(0,7),(1,7),(2,9),(3,10),(4,11),(5,12),(6,8),(7,12),(9,11),(10,9),(11,8),(12,10)],13)=>([],1)
([(0,8),(1,8),(2,7),(3,7),(4,10),(5,11),(6,9),(7,12),(8,12),(10,9),(11,10),(12,11)],13)=>([],1)
([(0,8),(1,8),(2,7),(3,7),(4,9),(5,10),(6,11),(7,12),(8,10),(10,12),(11,9),(12,11)],13)=>([],1)
([(0,8),(1,8),(2,7),(3,7),(4,9),(5,10),(6,11),(7,12),(8,11),(9,12),(11,9),(12,10)],13)=>([],1)
([(0,10),(1,9),(2,9),(3,8),(4,8),(5,7),(6,7),(7,12),(8,11),(9,11),(11,12),(12,10)],13)=>([],1)
([(0,7),(1,7),(2,8),(3,8),(4,11),(5,10),(6,9),(7,10),(8,11),(10,12),(11,12),(12,9)],13)=>([],1)
([(0,8),(1,8),(2,7),(3,7),(4,10),(5,11),(6,9),(7,12),(8,11),(9,12),(10,9),(11,10)],13)=>([],1)
([(0,10),(1,9),(2,9),(3,8),(4,8),(5,7),(6,7),(7,12),(8,11),(9,11),(10,12),(11,10)],13)=>([],1)
([(0,10),(1,7),(2,7),(3,8),(4,8),(5,9),(6,9),(7,12),(8,11),(9,10),(10,12),(12,11)],13)=>([],1)
([(0,7),(1,7),(2,8),(3,8),(4,9),(5,10),(6,11),(7,10),(8,11),(9,12),(10,12),(11,9)],13)=>([],1)
([(0,10),(1,8),(2,8),(3,7),(4,7),(5,9),(6,9),(7,11),(8,11),(9,10),(10,12),(11,12)],13)=>([],1)
([(0,5),(1,9),(1,10),(2,6),(2,8),(3,6),(3,7),(4,1),(4,7),(4,8),(5,2),(5,3),(5,4),(6,12),(7,9),(7,12),(8,10),(8,12),(9,11),(10,11),(12,11)],13)=>([],1)
([(0,3),(0,4),(0,5),(1,11),(2,10),(3,8),(3,9),(4,7),(4,8),(5,7),(5,9),(7,12),(8,2),(8,12),(9,1),(9,12),(10,6),(11,6),(12,10),(12,11)],13)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,4),(0,5),(2,9),(2,10),(3,6),(3,8),(4,6),(4,7),(5,2),(5,7),(5,8),(6,11),(7,9),(7,11),(8,10),(8,11),(9,12),(10,12),(11,12),(12,1)],13)=>([],1)
([(0,4),(0,8),(1,12),(2,9),(3,9),(4,11),(5,6),(6,3),(7,5),(7,10),(8,7),(8,11),(10,12),(11,1),(11,10),(12,2)],13)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(1,11),(2,10),(3,12),(4,12),(6,2),(6,8),(7,1),(7,8),(8,10),(8,11),(9,12),(10,3),(10,9),(11,4),(11,9),(12,5)],13)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,11),(2,11),(3,10),(4,9),(4,12),(5,10),(5,12),(7,6),(8,6),(9,7),(10,8),(11,9),(12,7),(12,8)],13)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(2,12),(3,12),(4,9),(5,10),(5,11),(7,6),(8,6),(9,8),(10,7),(11,7),(11,8),(12,9),(12,11)],13)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,11),(2,10),(3,6),(4,10),(4,12),(5,11),(5,12),(7,9),(8,9),(9,6),(10,7),(11,8),(12,7),(12,8)],13)=>([],1)
([(0,5),(0,6),(1,12),(2,11),(2,12),(3,2),(3,9),(4,1),(4,10),(5,3),(5,7),(6,4),(6,7),(7,9),(7,10),(9,11),(10,11),(10,12),(11,8),(12,8)],13)=>([],1)
([(0,3),(0,4),(1,8),(1,9),(2,10),(2,11),(3,1),(3,5),(3,6),(3,7),(4,2),(4,5),(4,6),(4,7),(5,9),(5,11),(6,9),(6,10),(7,8),(7,10),(7,11),(8,12),(9,12),(10,12),(11,12)],13)=>([],1)
([(0,2),(0,3),(1,4),(1,5),(1,10),(2,6),(2,7),(2,8),(2,9),(3,1),(3,6),(3,7),(3,8),(3,9),(4,12),(5,12),(6,11),(7,10),(7,11),(8,5),(8,11),(9,4),(9,10),(9,11),(10,12),(11,12)],13)=>([],1)
([(0,2),(0,3),(1,5),(1,10),(2,6),(2,7),(2,8),(2,9),(3,1),(3,6),(3,7),(3,8),(3,9),(4,12),(5,12),(6,11),(7,10),(7,11),(8,4),(8,11),(9,4),(9,5),(9,10),(9,11),(10,12),(11,12)],13)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,12),(2,8),(2,10),(2,12),(3,7),(3,10),(3,12),(4,6),(4,10),(4,12),(5,6),(5,7),(5,8),(5,12),(6,11),(6,13),(7,11),(7,13),(8,11),(8,13),(10,13),(11,9),(12,11),(12,13),(13,9)],14)=>([(0,1)],2)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,10),(1,11),(2,6),(2,9),(2,11),(3,6),(3,9),(3,10),(4,7),(4,9),(4,10),(4,11),(5,7),(5,9),(5,10),(5,11),(6,13),(7,12),(7,13),(9,12),(9,13),(10,12),(10,13),(11,12),(11,13),(12,8),(13,8)],14)=>([(0,1)],2)
([(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)=>([],1)
([(0,6),(1,9),(1,10),(2,8),(3,7),(4,3),(4,12),(5,2),(5,12),(6,4),(6,5),(7,9),(7,11),(8,10),(8,11),(9,13),(10,13),(11,13),(12,1),(12,7),(12,8)],14)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,6),(0,7),(1,11),(2,9),(3,9),(3,10),(4,2),(5,1),(5,10),(6,4),(7,8),(8,3),(8,5),(9,12),(10,11),(10,12),(11,13),(12,13)],14)=>([(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,8),(2,13),(3,11),(4,9),(5,10),(6,3),(6,10),(7,4),(7,12),(8,5),(8,6),(9,13),(10,7),(10,11),(11,12),(12,2),(12,9),(13,1)],14)=>([(0,7),(2,9),(3,9),(4,1),(5,8),(6,4),(7,5),(8,2),(8,3),(9,6)],10)
([(0,6),(0,7),(1,11),(2,9),(3,9),(3,10),(4,5),(5,1),(5,10),(6,4),(7,8),(8,2),(8,3),(9,12),(10,11),(10,12),(11,13),(12,13)],14)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,7),(1,8),(1,9),(2,9),(2,13),(3,8),(3,13),(4,11),(5,10),(6,5),(7,1),(7,2),(7,3),(8,6),(9,12),(11,10),(12,11),(13,4),(13,12)],14)=>([(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,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)=>([],1)
([(0,3),(0,4),(0,5),(1,6),(1,8),(2,6),(2,7),(3,10),(3,11),(4,9),(4,11),(5,9),(5,10),(6,12),(7,12),(8,12),(9,13),(10,13),(11,1),(11,2),(11,13),(13,7),(13,8)],14)=>([],1)
([(0,1),(0,2),(1,11),(2,3),(2,4),(2,11),(3,8),(3,10),(4,5),(4,9),(4,10),(5,6),(5,7),(6,13),(7,13),(8,12),(9,7),(9,12),(10,6),(10,12),(11,8),(11,9),(12,13)],14)=>([],1)
([(0,3),(0,4),(0,5),(1,8),(2,6),(2,7),(3,9),(3,11),(4,9),(4,10),(5,2),(5,10),(5,11),(6,13),(7,13),(9,12),(10,6),(10,12),(11,7),(11,12),(12,1),(12,13),(13,8)],14)=>([],1)
([(0,1),(0,2),(1,11),(2,4),(2,5),(2,11),(3,6),(3,7),(4,8),(4,10),(5,8),(5,9),(6,13),(7,13),(8,12),(9,6),(9,12),(10,7),(10,12),(11,3),(11,9),(11,10),(12,13)],14)=>([],1)
([(0,3),(0,4),(0,5),(1,8),(2,6),(2,7),(3,9),(3,10),(4,9),(4,11),(5,2),(5,10),(5,11),(6,13),(7,1),(7,13),(9,12),(10,6),(10,12),(11,7),(11,12),(12,13),(13,8)],14)=>([],1)
([(0,4),(0,5),(0,6),(2,9),(3,8),(4,10),(4,11),(5,7),(5,10),(6,7),(6,11),(7,13),(8,12),(9,12),(10,3),(10,13),(11,2),(11,13),(12,1),(13,8),(13,9)],14)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,7),(0,8),(1,12),(2,9),(3,9),(4,5),(5,2),(6,4),(6,11),(7,6),(7,10),(8,1),(8,10),(10,11),(10,12),(11,13),(12,13),(13,3)],14)=>([(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,7),(0,8),(1,11),(2,13),(3,9),(4,9),(5,2),(5,12),(6,3),(7,1),(7,10),(8,5),(8,10),(10,11),(10,12),(11,6),(12,13),(13,4)],14)=>([(0,5),(2,4),(3,2),(4,1),(5,3)],6)
([(0,7),(0,8),(2,10),(2,11),(3,9),(4,10),(4,12),(5,4),(6,2),(6,9),(7,5),(8,3),(8,6),(9,11),(9,12),(10,13),(11,13),(12,13),(13,1)],14)=>([(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,2),(0,3),(1,4),(1,9),(1,10),(1,11),(2,5),(2,6),(2,7),(2,8),(3,1),(3,5),(3,6),(3,7),(3,8),(4,13),(5,11),(5,12),(6,10),(6,12),(7,9),(7,12),(8,4),(8,9),(8,10),(8,11),(8,12),(9,13),(10,13),(11,13),(12,13)],14)=>([(0,1)],2)
([(0,2),(0,3),(1,9),(1,10),(2,5),(2,6),(2,7),(2,8),(3,1),(3,5),(3,6),(3,7),(3,8),(4,13),(5,11),(5,12),(6,9),(6,10),(6,11),(6,12),(7,4),(7,10),(7,11),(7,12),(8,4),(8,9),(8,11),(8,12),(9,13),(10,13),(11,13),(12,13)],14)=>([(0,1)],2)
([(0,11),(1,10),(2,10),(2,13),(3,11),(3,14),(4,13),(4,14),(6,8),(7,9),(8,5),(9,5),(10,6),(11,7),(12,8),(12,9),(13,6),(13,12),(14,7),(14,12)],15)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,9),(1,10),(1,11),(1,12),(2,7),(2,11),(2,12),(3,7),(3,9),(3,10),(4,6),(4,10),(4,12),(5,6),(5,9),(5,11),(6,14),(7,13),(9,13),(9,14),(10,13),(10,14),(11,13),(11,14),(12,13),(12,14),(13,8),(14,8)],15)=>([],1)
([(0,5),(0,6),(1,4),(1,14),(2,11),(3,10),(4,3),(4,12),(5,1),(5,13),(6,2),(6,13),(8,9),(9,7),(10,7),(11,8),(12,9),(12,10),(13,11),(13,14),(14,8),(14,12)],15)=>([(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,5),(0,6),(1,11),(2,3),(2,13),(3,4),(3,10),(4,9),(4,14),(5,1),(5,12),(6,2),(6,12),(7,14),(9,8),(10,9),(10,14),(11,7),(12,11),(12,13),(13,7),(13,10),(14,8)],15)=>([(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),(1,14),(3,13),(4,12),(5,11),(6,7),(6,12),(7,5),(7,9),(8,4),(8,6),(9,11),(9,13),(10,14),(11,10),(12,3),(12,9),(13,1),(13,10),(14,2)],15)=>([],1)
([(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,3),(2,1),(3,2)],4)
([(0,7),(0,8),(1,12),(2,11),(3,10),(4,10),(4,11),(5,3),(6,1),(6,13),(7,9),(8,5),(9,2),(9,4),(10,14),(11,6),(11,14),(13,12),(14,13)],15)=>([(0,2),(2,1)],3)
([(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,3),(2,1),(3,2)],4)
([(0,4),(0,5),(1,3),(1,12),(2,11),(3,2),(3,14),(4,10),(4,13),(5,1),(5,10),(5,13),(7,8),(8,9),(9,6),(10,7),(11,6),(12,8),(12,14),(13,7),(13,12),(14,9),(14,11)],15)=>([(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,2),(0,3),(1,11),(1,12),(2,13),(2,14),(3,1),(3,13),(3,14),(5,7),(6,8),(7,4),(8,4),(9,7),(9,8),(10,5),(10,9),(11,6),(11,9),(12,5),(12,6),(13,10),(13,11),(14,10),(14,12)],15)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,9),(2,12),(2,14),(3,1),(3,12),(3,14),(5,7),(6,8),(7,4),(8,4),(9,5),(10,6),(10,11),(11,7),(11,8),(12,10),(12,13),(13,5),(13,6),(13,11),(14,9),(14,10),(14,13)],15)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,2),(0,3),(1,10),(1,11),(2,13),(2,14),(3,1),(3,13),(3,14),(5,8),(6,7),(7,4),(8,4),(9,7),(9,8),(10,6),(10,9),(11,5),(11,9),(12,5),(12,6),(13,10),(13,12),(14,11),(14,12)],15)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,3),(1,7),(1,8),(2,13),(2,14),(3,2),(3,11),(3,12),(4,9),(4,10),(5,1),(5,9),(5,10),(7,12),(8,11),(9,8),(10,7),(11,13),(12,14),(13,6),(14,6)],15)=>([(0,6),(1,11),(1,12),(2,9),(3,8),(4,7),(4,11),(5,7),(5,12),(6,1),(6,4),(6,5),(7,13),(8,10),(9,10),(11,3),(11,13),(12,2),(12,13),(13,8),(13,9)],14)
([(0,7),(0,8),(3,5),(3,12),(4,6),(4,13),(5,2),(5,10),(6,1),(6,11),(7,3),(7,9),(8,4),(8,9),(9,12),(9,13),(12,10),(12,14),(13,11),(13,14)],15)=>([],1)
([(0,3),(0,4),(0,5),(1,10),(2,7),(2,8),(3,9),(3,12),(4,9),(4,11),(5,2),(5,11),(5,12),(7,14),(8,14),(9,1),(9,13),(10,6),(11,7),(11,13),(12,8),(12,13),(13,10),(13,14),(14,6)],15)=>([(0,2),(2,1)],3)
([(0,2),(0,3),(1,11),(2,1),(2,12),(3,4),(3,5),(3,12),(4,8),(4,10),(5,8),(5,9),(6,14),(7,14),(8,13),(9,6),(9,13),(10,7),(10,13),(11,6),(11,7),(12,9),(12,10),(12,11),(13,14)],15)=>([(0,2),(2,1)],3)
([(0,1),(0,2),(1,3),(1,13),(2,4),(2,13),(3,10),(3,12),(4,11),(4,12),(5,14),(7,6),(8,7),(8,14),(9,7),(9,14),(10,8),(10,9),(11,5),(11,8),(12,5),(12,9),(13,10),(13,11),(14,6)],15)=>([(0,2),(2,1)],3)
([(0,5),(0,6),(1,13),(2,10),(2,12),(3,4),(3,12),(4,1),(4,14),(5,3),(5,7),(6,2),(6,7),(7,10),(7,12),(9,8),(10,11),(10,14),(11,9),(11,13),(12,11),(12,14),(13,8),(14,9),(14,13)],15)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,1),(0,2),(1,4),(1,13),(2,3),(2,13),(3,10),(3,12),(4,11),(4,12),(5,14),(7,6),(8,7),(8,14),(9,7),(9,14),(10,5),(10,8),(11,5),(11,9),(12,8),(12,9),(13,10),(13,11),(14,6)],15)=>([(0,2),(2,1)],3)
([(0,7),(0,8),(1,10),(1,13),(2,10),(2,13),(3,5),(3,14),(4,6),(4,14),(5,2),(5,12),(6,1),(6,12),(7,3),(7,9),(8,4),(8,9),(9,14),(10,11),(12,13),(13,11),(14,12)],15)=>([(0,5),(0,6),(1,9),(1,10),(3,8),(4,7),(5,4),(5,12),(6,3),(6,12),(7,9),(7,11),(8,10),(8,11),(9,13),(10,13),(11,13),(12,1),(12,7),(12,8),(13,2)],14)
([(0,3),(0,4),(1,11),(1,12),(2,9),(2,10),(3,2),(3,5),(3,6),(3,7),(3,8),(4,1),(4,5),(4,6),(4,7),(4,8),(5,10),(5,12),(5,13),(6,10),(6,11),(6,13),(7,9),(7,11),(7,13),(8,9),(8,12),(8,13),(9,14),(10,14),(11,14),(12,14),(13,14)],15)=>([],1)
([(0,13),(1,12),(2,13),(2,15),(3,12),(3,15),(5,11),(6,7),(7,4),(8,9),(9,10),(10,7),(11,6),(11,10),(12,8),(13,5),(13,14),(14,9),(14,11),(15,8),(15,14)],16)=>([],1)
([(0,5),(0,6),(1,4),(1,15),(2,3),(2,14),(3,8),(4,9),(5,2),(5,13),(6,1),(6,13),(8,10),(9,11),(10,7),(11,7),(12,10),(12,11),(13,14),(13,15),(14,8),(14,12),(15,9),(15,12)],16)=>([],1)
([(0,5),(0,6),(1,14),(2,4),(2,13),(3,1),(3,11),(4,9),(4,14),(5,2),(5,12),(6,3),(6,12),(8,10),(8,15),(9,10),(9,15),(10,7),(11,8),(11,14),(12,11),(12,13),(13,8),(13,9),(14,15),(15,7)],16)=>([],1)
([(0,7),(1,11),(1,14),(2,10),(3,8),(4,9),(5,3),(5,13),(6,4),(6,13),(7,5),(7,6),(8,12),(8,14),(9,11),(9,12),(11,15),(12,15),(13,1),(13,8),(13,9),(14,2),(14,15),(15,10)],16)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,8),(2,11),(2,12),(3,10),(4,9),(5,4),(5,14),(6,3),(6,14),(7,1),(8,5),(8,6),(9,11),(9,13),(10,12),(10,13),(11,15),(12,15),(13,15),(14,2),(14,9),(14,10),(15,7)],16)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,4),(1,10),(2,1),(2,6),(2,12),(3,14),(3,15),(4,2),(4,14),(4,15),(6,7),(7,8),(8,5),(9,5),(10,9),(11,7),(11,13),(12,10),(12,13),(13,8),(13,9),(14,6),(14,11),(15,11),(15,12)],16)=>([],1)
([(0,3),(0,4),(1,2),(1,14),(2,6),(3,13),(3,15),(4,1),(4,13),(4,15),(6,9),(7,8),(8,10),(9,5),(10,5),(11,8),(11,12),(12,9),(12,10),(13,7),(13,11),(14,6),(14,12),(15,7),(15,11),(15,14)],16)=>([],1)
([(0,3),(0,4),(1,2),(1,11),(1,15),(2,7),(2,12),(3,13),(3,14),(4,1),(4,13),(4,14),(6,9),(7,10),(8,6),(9,5),(10,5),(11,7),(12,9),(12,10),(13,8),(13,15),(14,8),(14,11),(15,6),(15,12)],16)=>([],1)
([(0,2),(0,3),(1,6),(1,11),(2,14),(2,15),(3,1),(3,14),(3,15),(5,8),(6,7),(7,9),(8,10),(9,4),(10,4),(11,7),(11,13),(12,8),(12,13),(13,9),(13,10),(14,5),(14,6),(14,12),(15,5),(15,11),(15,12)],16)=>([],1)
([(0,9),(3,15),(4,14),(5,6),(5,14),(6,7),(6,10),(7,8),(7,13),(8,2),(8,11),(9,4),(9,5),(10,13),(10,15),(13,11),(13,12),(14,3),(14,10),(15,1),(15,12)],16)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(1,8),(1,9),(1,10),(2,6),(2,7),(2,10),(3,5),(3,7),(3,9),(4,5),(4,6),(4,8),(5,11),(5,14),(6,11),(6,12),(7,11),(7,13),(8,12),(8,14),(9,13),(9,14),(10,12),(10,13),(11,15),(12,15),(13,15),(14,15)],16)=>([],1)
([(0,3),(0,4),(0,5),(1,6),(1,7),(2,1),(2,9),(2,10),(3,8),(3,12),(4,8),(4,11),(5,2),(5,11),(5,12),(6,14),(7,14),(8,13),(9,6),(9,15),(10,7),(10,15),(11,9),(11,13),(12,10),(12,13),(13,15),(15,14)],16)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,3),(0,4),(0,5),(1,6),(1,7),(2,8),(2,10),(3,9),(3,11),(4,9),(4,12),(5,2),(5,11),(5,12),(6,14),(7,14),(8,13),(9,15),(10,6),(10,13),(11,8),(11,15),(12,1),(12,10),(12,15),(13,14),(15,7),(15,13)],16)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,6),(0,7),(2,12),(2,13),(3,11),(3,12),(4,10),(5,9),(6,8),(7,2),(7,3),(7,8),(8,11),(8,13),(9,14),(10,14),(11,15),(12,5),(12,15),(13,4),(13,15),(14,1),(15,9),(15,10)],16)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(2,11),(3,11),(3,14),(4,12),(4,15),(5,14),(5,15),(7,9),(8,10),(9,6),(10,6),(11,7),(12,8),(13,9),(13,10),(14,7),(14,13),(15,8),(15,13)],16)=>([],1)
([(0,5),(0,6),(1,4),(1,12),(2,3),(2,11),(3,10),(3,15),(4,7),(5,1),(5,13),(6,2),(6,13),(7,14),(9,8),(10,9),(10,14),(11,10),(11,15),(12,7),(12,15),(13,11),(13,12),(14,8),(15,9),(15,14)],16)=>([],1)
([(0,4),(0,5),(1,3),(1,8),(2,6),(2,12),(3,11),(3,14),(4,1),(4,13),(5,2),(5,13),(6,10),(6,11),(8,14),(9,7),(10,9),(10,15),(11,9),(11,15),(12,10),(12,14),(13,8),(13,12),(14,15),(15,7)],16)=>([],1)
([(0,5),(0,6),(1,13),(1,15),(2,9),(2,13),(3,2),(3,12),(4,1),(4,11),(5,3),(5,8),(6,4),(6,8),(7,10),(8,11),(8,12),(9,14),(11,13),(11,15),(12,9),(12,15),(13,7),(13,14),(14,10),(15,7),(15,14)],16)=>([],1)
([(0,7),(0,8),(1,16),(2,10),(2,16),(3,11),(4,12),(5,6),(6,4),(6,10),(7,9),(8,5),(9,1),(9,2),(10,12),(10,13),(11,15),(12,14),(13,11),(13,14),(14,15),(16,3),(16,13)],17)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
([(0,4),(0,5),(1,11),(2,1),(2,13),(3,7),(3,14),(4,2),(4,12),(4,16),(5,3),(5,12),(5,16),(7,8),(8,9),(9,6),(10,6),(11,10),(12,7),(13,11),(13,15),(14,8),(14,15),(15,9),(15,10),(16,13),(16,14)],17)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,3),(0,4),(1,11),(2,10),(3,2),(3,15),(3,16),(4,1),(4,15),(4,16),(6,8),(7,9),(8,5),(9,5),(10,6),(11,7),(12,6),(12,14),(13,7),(13,14),(14,8),(14,9),(15,12),(15,13),(16,10),(16,11),(16,12),(16,13)],17)=>([(0,3),(1,4),(2,4),(3,1),(3,2)],5)
([(0,3),(0,4),(1,15),(1,16),(2,10),(2,11),(3,1),(3,13),(3,14),(4,2),(4,13),(4,14),(6,9),(7,8),(8,5),(9,5),(10,7),(11,6),(12,8),(12,9),(13,10),(13,15),(14,11),(14,16),(15,7),(15,12),(16,6),(16,12)],17)=>([(0,1)],2)
([(0,3),(0,4),(1,11),(2,12),(2,13),(3,2),(3,15),(3,16),(4,1),(4,15),(4,16),(6,7),(7,9),(8,10),(9,5),(10,5),(11,8),(12,7),(12,14),(13,8),(13,14),(14,9),(14,10),(15,6),(15,12),(16,6),(16,11),(16,13)],17)=>([(0,2),(2,1)],3)
([(0,4),(0,5),(1,12),(2,3),(2,13),(2,16),(3,8),(3,14),(4,1),(4,9),(4,15),(5,2),(5,9),(5,15),(7,10),(8,11),(9,13),(10,6),(11,6),(12,7),(13,8),(14,10),(14,11),(15,12),(15,16),(16,7),(16,14)],17)=>([(0,4),(1,6),(2,5),(3,1),(3,5),(4,2),(4,3),(5,6)],7)
([(0,3),(0,4),(1,11),(1,16),(2,10),(2,15),(3,2),(3,13),(3,14),(4,1),(4,13),(4,14),(6,8),(7,9),(8,5),(9,5),(10,6),(11,7),(12,8),(12,9),(13,15),(13,16),(14,10),(14,11),(15,6),(15,12),(16,7),(16,12)],17)=>([(0,1)],2)
([(0,1),(1,2),(1,3),(1,4),(1,5),(2,9),(2,10),(2,11),(3,7),(3,8),(3,11),(4,6),(4,8),(4,10),(5,6),(5,7),(5,9),(6,12),(6,15),(7,12),(7,13),(8,12),(8,14),(9,13),(9,15),(10,14),(10,15),(11,13),(11,14),(12,16),(13,16),(14,16),(15,16)],17)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(2,9),(2,10),(2,11),(3,7),(3,8),(3,11),(4,6),(4,8),(4,10),(5,6),(5,7),(5,9),(6,12),(6,15),(7,12),(7,13),(8,12),(8,14),(9,13),(9,15),(10,14),(10,15),(11,13),(11,14),(12,16),(13,16),(14,16),(15,16),(16,1)],17)=>([],1)
([(0,8),(0,9),(1,10),(2,10),(3,15),(4,16),(5,12),(6,5),(6,14),(7,2),(8,3),(8,11),(9,6),(9,11),(11,14),(11,15),(12,7),(13,16),(14,12),(14,13),(15,4),(15,13),(16,1)],17)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
([(0,6),(0,7),(1,15),(1,16),(2,11),(3,5),(3,12),(4,2),(4,13),(5,1),(5,10),(6,3),(6,9),(7,4),(7,9),(9,12),(9,13),(10,15),(11,16),(12,10),(12,14),(13,11),(13,14),(14,15),(14,16),(15,8),(16,8)],17)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(0,8),(1,15),(2,14),(3,5),(3,11),(4,6),(4,12),(5,2),(5,16),(6,1),(6,16),(7,3),(7,9),(8,4),(8,9),(9,11),(9,12),(11,13),(11,16),(12,13),(12,16),(13,14),(13,15),(14,10),(15,10),(16,14),(16,15)],17)=>([(0,2),(0,3),(2,4),(3,4),(4,1)],5)
([(0,3),(0,4),(1,6),(1,14),(2,5),(2,13),(3,2),(3,12),(4,1),(4,12),(5,8),(5,9),(6,8),(6,10),(7,15),(8,16),(9,15),(9,16),(10,15),(10,16),(12,13),(12,14),(13,7),(13,9),(14,7),(14,10),(15,11),(16,11)],17)=>([(0,1)],2)
([(0,6),(0,7),(1,16),(2,11),(2,14),(3,1),(3,14),(4,3),(4,10),(5,2),(5,12),(6,4),(6,9),(7,5),(7,9),(9,10),(9,12),(10,13),(10,14),(11,15),(11,16),(12,11),(12,13),(13,15),(14,15),(14,16),(15,8),(16,8)],17)=>([(0,2),(2,1)],3)
([(0,7),(0,8),(1,15),(2,14),(2,15),(3,2),(3,16),(4,6),(4,13),(5,3),(5,11),(6,1),(6,12),(7,4),(7,10),(8,5),(8,10),(10,11),(10,13),(11,16),(12,14),(12,15),(13,12),(13,16),(14,9),(15,9),(16,14)],17)=>([(0,3),(0,4),(2,6),(3,5),(4,2),(4,5),(5,6),(6,1)],7)
([(0,3),(0,4),(1,6),(1,14),(2,5),(2,13),(3,2),(3,12),(4,1),(4,12),(5,7),(5,10),(6,8),(6,10),(7,15),(8,16),(9,15),(9,16),(10,15),(10,16),(12,13),(12,14),(13,7),(13,9),(14,8),(14,9),(15,11),(16,11)],17)=>([(0,1)],2)
([(0,1),(1,4),(1,5),(2,13),(3,12),(4,14),(5,7),(5,14),(6,10),(7,8),(7,15),(8,6),(8,17),(10,11),(11,9),(12,9),(13,3),(13,16),(14,2),(14,15),(15,13),(15,17),(16,11),(16,12),(17,10),(17,16)],18)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,1),(0,2),(1,12),(2,3),(2,4),(2,5),(2,12),(3,8),(3,10),(3,11),(4,7),(4,9),(4,11),(5,6),(5,9),(5,10),(6,13),(6,14),(7,13),(7,15),(8,14),(8,15),(9,13),(9,16),(10,14),(10,16),(11,15),(11,16),(12,6),(12,7),(12,8),(13,17),(14,17),(15,17),(16,17)],18)=>([],1)
([(0,2),(0,3),(0,4),(0,5),(1,6),(2,7),(2,8),(2,9),(3,9),(3,11),(3,12),(4,8),(4,10),(4,12),(5,7),(5,10),(5,11),(7,13),(7,14),(8,13),(8,15),(9,14),(9,15),(10,13),(10,16),(11,14),(11,16),(12,15),(12,16),(13,17),(14,17),(15,17),(16,1),(16,17),(17,6)],18)=>([],1)
([(0,3),(0,4),(0,5),(1,8),(1,10),(2,7),(2,9),(3,11),(3,12),(4,2),(4,11),(4,13),(5,1),(5,12),(5,13),(6,17),(7,15),(8,16),(9,6),(9,15),(10,6),(10,16),(11,7),(11,14),(12,8),(12,14),(13,9),(13,10),(13,14),(14,15),(14,16),(15,17),(16,17)],18)=>([(0,1)],2)
([(0,7),(0,8),(2,13),(3,14),(4,6),(4,17),(5,9),(6,10),(7,3),(7,16),(8,4),(8,16),(9,1),(10,11),(11,12),(12,9),(13,5),(13,12),(14,2),(14,15),(15,11),(15,13),(16,14),(16,17),(17,10),(17,15)],18)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,1),(1,4),(1,5),(2,14),(3,13),(4,6),(4,17),(5,7),(5,17),(6,15),(7,16),(8,11),(8,12),(10,18),(11,3),(11,18),(12,2),(12,18),(13,9),(14,9),(15,10),(15,11),(16,10),(16,12),(17,8),(17,15),(17,16),(18,13),(18,14)],19)=>([(0,7),(2,9),(3,9),(4,8),(5,8),(6,2),(6,3),(7,4),(7,5),(8,6),(9,1)],10)
([(0,1),(1,2),(1,3),(2,4),(2,13),(3,6),(3,13),(4,15),(5,14),(6,5),(6,16),(7,10),(7,12),(8,18),(9,18),(10,17),(11,9),(11,17),(12,8),(12,17),(13,7),(13,15),(13,16),(14,8),(14,9),(15,10),(15,11),(16,11),(16,12),(16,14),(17,18)],19)=>([(0,3),(2,1),(3,2)],4)
([(0,2),(1,8),(2,5),(2,6),(2,7),(3,17),(4,16),(5,12),(5,13),(6,12),(6,14),(7,13),(7,14),(8,10),(8,11),(9,18),(10,18),(11,18),(12,1),(13,4),(13,15),(14,3),(14,15),(15,16),(15,17),(16,9),(16,10),(17,9),(17,11)],19)=>([(0,2),(2,1)],3)
([(0,6),(0,7),(2,17),(3,16),(4,13),(5,14),(6,3),(6,15),(7,2),(7,15),(8,11),(8,12),(9,1),(10,18),(11,4),(11,18),(12,5),(12,18),(13,9),(14,9),(15,8),(15,16),(15,17),(16,10),(16,11),(17,10),(17,12),(18,13),(18,14)],19)=>([(0,7),(2,9),(3,9),(4,8),(5,8),(6,2),(6,3),(7,4),(7,5),(8,6),(9,1)],10)
([(0,5),(0,6),(0,7),(2,13),(3,14),(4,8),(4,9),(5,11),(5,16),(6,11),(6,15),(7,4),(7,15),(7,16),(8,18),(9,2),(9,18),(10,1),(11,3),(11,17),(12,10),(13,10),(14,12),(15,9),(15,17),(16,8),(16,17),(17,14),(17,18),(18,12),(18,13)],19)=>([(0,3),(2,1),(3,2)],4)
([(0,6),(0,7),(0,8),(1,5),(3,17),(4,16),(5,9),(5,10),(6,12),(6,13),(7,12),(7,14),(8,13),(8,14),(9,18),(10,18),(11,18),(12,1),(13,4),(13,15),(14,3),(14,15),(15,16),(15,17),(16,9),(16,11),(17,10),(17,11),(18,2)],19)=>([(0,2),(2,1)],3)
([(0,13),(1,16),(2,15),(3,13),(3,17),(4,15),(4,16),(4,17),(6,10),(7,19),(8,19),(9,18),(10,5),(11,7),(11,18),(12,8),(12,18),(13,14),(14,7),(14,8),(15,9),(15,11),(16,9),(16,12),(17,11),(17,12),(17,14),(18,6),(18,19),(19,10)],20)=>([],1)
([(0,9),(2,16),(2,17),(3,13),(4,12),(5,10),(6,11),(7,5),(7,15),(8,6),(8,15),(9,7),(9,8),(10,14),(10,16),(11,14),(11,17),(12,18),(13,18),(14,19),(15,2),(15,10),(15,11),(16,4),(16,19),(17,3),(17,19),(18,1),(19,12),(19,13)],20)=>([(0,7),(2,9),(3,9),(4,8),(5,8),(6,2),(6,3),(7,4),(7,5),(8,6),(9,1)],10)
([(0,9),(0,11),(1,18),(2,17),(3,19),(4,13),(4,19),(5,12),(5,13),(6,16),(7,14),(8,5),(8,18),(9,10),(10,3),(10,4),(11,1),(11,8),(12,17),(13,15),(15,16),(16,14),(17,7),(18,2),(18,12),(19,6),(19,15)],20)=>([(0,8),(2,3),(3,5),(4,2),(5,7),(6,4),(7,1),(8,6)],9)
([(0,1),(1,5),(1,6),(2,15),(3,14),(4,10),(5,16),(6,8),(6,16),(7,12),(8,9),(8,17),(9,7),(9,19),(11,13),(12,11),(13,10),(14,4),(14,13),(15,3),(15,18),(16,2),(16,17),(17,15),(17,19),(18,11),(18,14),(19,12),(19,18)],20)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,9),(1,10),(1,18),(2,10),(2,17),(3,17),(3,18),(5,14),(6,15),(7,12),(7,13),(8,7),(9,1),(9,2),(9,3),(10,8),(11,14),(11,15),(12,19),(13,19),(14,12),(14,16),(15,13),(15,16),(16,19),(17,5),(17,11),(18,6),(18,11),(19,4)],20)=>([(0,2),(2,1)],3)
([(0,10),(1,15),(2,16),(2,17),(6,11),(6,13),(7,12),(7,13),(8,5),(8,14),(9,6),(9,7),(9,15),(10,1),(10,9),(11,16),(11,19),(12,17),(12,19),(13,8),(13,19),(15,2),(15,11),(15,12),(16,4),(16,18),(17,3),(17,18),(19,14),(19,18)],20)=>([],1)
([(0,1),(0,2),(0,3),(1,11),(1,13),(2,11),(2,12),(3,4),(3,5),(3,12),(3,13),(4,7),(4,9),(4,10),(5,6),(5,8),(5,10),(6,15),(6,17),(7,15),(7,18),(8,16),(8,17),(9,16),(9,18),(10,15),(10,16),(11,14),(12,6),(12,7),(12,14),(13,8),(13,9),(13,14),(14,17),(14,18),(15,19),(16,19),(17,19),(18,19)],20)=>([(0,1)],2)
([(0,2),(0,3),(0,4),(0,5),(1,6),(1,7),(2,11),(2,12),(2,13),(3,9),(3,10),(3,13),(4,8),(4,10),(4,12),(5,8),(5,9),(5,11),(6,16),(7,16),(8,1),(8,17),(8,18),(9,14),(9,17),(10,15),(10,17),(11,14),(11,18),(12,15),(12,18),(13,14),(13,15),(14,19),(15,19),(17,6),(17,19),(18,7),(18,19),(19,16)],20)=>([(0,1)],2)
([(0,8),(0,9),(2,7),(2,19),(3,15),(4,16),(5,10),(6,12),(7,6),(7,17),(8,14),(9,2),(9,14),(10,1),(11,13),(12,11),(13,10),(14,3),(14,19),(15,4),(15,18),(16,5),(16,13),(17,12),(17,18),(18,11),(18,16),(19,15),(19,17)],20)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,14),(1,13),(2,18),(2,20),(3,19),(3,20),(4,13),(4,18),(5,14),(5,19),(7,9),(8,10),(9,11),(10,12),(11,6),(12,6),(13,7),(14,8),(15,9),(15,17),(16,10),(16,17),(17,11),(17,12),(18,7),(18,15),(19,8),(19,16),(20,15),(20,16)],21)=>([],1)
([(0,10),(1,20),(2,19),(4,18),(5,17),(6,13),(7,8),(7,17),(8,9),(8,11),(9,6),(9,15),(10,5),(10,7),(11,15),(11,18),(12,16),(12,20),(13,16),(14,19),(15,12),(15,13),(16,14),(17,4),(17,11),(18,1),(18,12),(19,3),(20,2),(20,14)],21)=>([(0,6),(2,3),(3,5),(4,2),(5,1),(6,4)],7)
([(0,9),(0,10),(3,7),(3,14),(4,8),(4,15),(5,3),(5,16),(6,4),(6,17),(7,2),(7,12),(8,1),(8,13),(9,5),(9,11),(10,6),(10,11),(11,16),(11,17),(14,12),(14,19),(15,13),(15,20),(16,14),(16,18),(17,15),(17,18),(18,19),(18,20)],21)=>([],1)
([(0,1),(1,3),(1,4),(2,15),(3,6),(3,18),(4,5),(4,18),(5,17),(6,7),(6,19),(7,16),(8,12),(8,14),(10,21),(11,21),(12,2),(12,20),(13,11),(13,20),(14,10),(14,20),(15,9),(16,10),(16,11),(17,12),(17,13),(18,8),(18,17),(18,19),(19,13),(19,14),(19,16),(20,15),(20,21),(21,9)],22)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,5),(0,6),(2,17),(3,16),(4,18),(5,7),(5,8),(5,19),(6,4),(6,19),(7,12),(7,14),(8,12),(8,15),(9,21),(10,1),(11,3),(11,21),(12,2),(12,20),(13,10),(14,11),(14,20),(15,9),(15,20),(16,10),(17,13),(18,9),(18,11),(19,14),(19,15),(19,18),(20,17),(20,21),(21,13),(21,16)],22)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,1),(1,2),(1,3),(2,4),(2,16),(3,6),(3,16),(4,18),(5,17),(6,5),(6,19),(7,9),(7,11),(8,10),(8,14),(9,21),(10,22),(11,21),(12,20),(13,12),(13,22),(14,7),(14,15),(14,22),(15,9),(15,20),(16,8),(16,18),(16,19),(17,12),(17,15),(18,10),(18,13),(19,13),(19,14),(19,17),(20,21),(22,11),(22,20)],23)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
([(0,9),(0,11),(1,14),(2,12),(2,13),(3,12),(3,17),(4,18),(5,15),(5,16),(6,7),(7,4),(7,13),(8,5),(8,19),(9,6),(10,2),(10,3),(10,14),(11,1),(11,10),(12,20),(13,18),(13,20),(14,8),(14,17),(15,22),(16,22),(17,19),(18,15),(18,21),(19,16),(20,21),(21,22)],23)=>([(0,2),(2,1)],3)
([(0,10),(0,12),(1,16),(2,17),(3,21),(4,22),(5,14),(6,13),(6,14),(7,13),(7,15),(8,7),(8,21),(9,2),(9,18),(10,11),(11,5),(11,6),(12,3),(12,8),(13,19),(14,9),(14,19),(15,22),(16,20),(17,20),(18,16),(18,17),(19,18),(21,4),(21,15),(22,1)],23)=>([(0,9),(1,11),(2,11),(4,6),(5,4),(6,8),(7,5),(8,10),(9,7),(10,1),(10,2),(11,3)],12)
([(0,6),(0,7),(0,8),(2,17),(3,16),(4,9),(4,12),(5,10),(5,15),(6,13),(6,19),(7,13),(7,18),(8,5),(8,18),(8,19),(9,3),(9,22),(10,2),(10,21),(11,1),(12,22),(13,20),(14,11),(15,9),(15,21),(16,11),(17,14),(18,4),(18,15),(18,20),(19,10),(19,20),(20,12),(20,21),(21,17),(21,22),(22,14),(22,16)],23)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
([(0,6),(0,10),(0,11),(1,17),(2,16),(3,14),(3,19),(4,15),(5,14),(5,20),(6,13),(6,21),(7,5),(7,18),(8,3),(8,12),(9,2),(10,8),(10,21),(11,7),(11,13),(12,17),(12,19),(13,18),(14,22),(15,16),(17,9),(18,20),(19,22),(20,4),(20,22),(21,1),(21,12),(22,15)],23)=>([(0,2),(2,1)],3)
([(0,18),(1,19),(2,18),(2,22),(3,19),(3,22),(4,6),(6,5),(7,11),(8,16),(9,17),(10,13),(10,14),(11,4),(12,23),(13,8),(13,23),(14,9),(14,23),(15,11),(16,15),(17,7),(17,15),(18,20),(19,21),(20,12),(20,13),(21,12),(21,14),(22,10),(22,20),(22,21),(23,16),(23,17)],24)=>([],1)
([(0,12),(1,18),(1,19),(4,21),(5,15),(6,14),(7,13),(8,9),(8,21),(9,6),(9,22),(10,2),(10,16),(11,3),(11,17),(12,7),(13,4),(13,8),(14,18),(14,20),(15,19),(15,20),(18,10),(18,23),(19,11),(19,23),(20,23),(21,5),(21,22),(22,1),(22,14),(22,15),(23,16),(23,17)],24)=>([],1)
([(0,18),(1,17),(2,18),(2,24),(3,23),(3,24),(4,17),(4,23),(6,15),(7,16),(8,9),(9,5),(10,12),(11,13),(12,11),(13,14),(14,9),(15,7),(15,21),(16,8),(16,14),(17,10),(18,6),(18,19),(19,15),(19,22),(20,12),(20,22),(21,13),(21,16),(22,11),(22,21),(23,10),(23,20),(24,19),(24,20)],25)=>([],1)
([(0,1),(1,3),(1,4),(2,14),(3,6),(3,20),(4,5),(4,20),(5,19),(6,7),(6,21),(7,18),(8,12),(8,13),(9,11),(9,17),(10,22),(11,24),(12,23),(13,2),(13,23),(15,13),(15,22),(16,10),(16,24),(17,8),(17,15),(17,24),(18,10),(18,15),(19,11),(19,16),(20,9),(20,19),(20,21),(21,16),(21,17),(21,18),(22,23),(23,14),(24,12),(24,22)],25)=>([(0,6),(2,8),(3,8),(4,1),(5,4),(6,7),(7,2),(7,3),(8,5)],9)
([(0,12),(2,13),(4,15),(5,16),(6,10),(6,13),(7,8),(7,18),(8,11),(8,19),(9,7),(9,17),(10,9),(10,20),(11,1),(11,14),(12,2),(12,6),(13,5),(13,20),(15,3),(15,22),(16,4),(16,24),(17,18),(17,24),(18,19),(18,21),(19,14),(19,23),(20,16),(20,17),(21,22),(21,23),(24,15),(24,21)],25)=>([],1)
([(0,4),(0,5),(2,20),(3,19),(4,21),(5,6),(5,7),(5,21),(6,9),(6,17),(6,18),(7,11),(7,18),(8,12),(8,14),(9,13),(9,15),(10,1),(11,22),(12,24),(13,3),(13,23),(14,2),(14,24),(15,14),(15,23),(16,10),(17,13),(17,22),(18,8),(18,15),(18,22),(19,16),(20,10),(21,11),(21,17),(22,12),(22,23),(23,19),(23,24),(24,16),(24,20)],25)=>([(0,6),(2,8),(3,8),(4,7),(5,1),(6,4),(7,2),(7,3),(8,5)],9)
([(0,10),(0,12),(1,23),(2,22),(3,14),(3,24),(4,15),(5,13),(5,14),(6,18),(7,16),(7,20),(8,5),(8,23),(9,4),(9,24),(10,11),(11,3),(11,9),(12,1),(12,8),(13,22),(14,19),(15,16),(15,21),(16,25),(18,17),(19,20),(19,21),(20,18),(20,25),(21,25),(22,6),(23,2),(23,13),(24,7),(24,15),(24,19),(25,17)],26)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,10),(0,12),(1,15),(2,13),(2,14),(3,16),(3,18),(4,20),(5,13),(5,17),(6,21),(7,8),(8,6),(8,14),(9,3),(9,24),(10,7),(11,2),(11,5),(11,15),(12,1),(12,11),(13,22),(14,21),(14,22),(15,9),(15,17),(16,20),(16,25),(17,24),(18,25),(20,19),(21,18),(21,23),(22,23),(23,25),(24,4),(24,16),(25,19)],26)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,10),(0,12),(1,18),(2,20),(2,22),(3,22),(3,23),(4,17),(5,21),(6,16),(7,13),(7,21),(8,13),(8,15),(9,11),(10,9),(10,14),(11,5),(11,7),(12,2),(12,3),(12,14),(13,19),(14,20),(14,23),(15,24),(16,24),(17,18),(19,17),(20,25),(21,4),(21,19),(22,6),(22,25),(23,8),(23,25),(24,1),(25,15),(25,16)],26)=>([(0,4),(1,5),(2,5),(4,1),(4,2),(5,3)],6)
([(0,11),(0,12),(1,13),(1,24),(2,15),(3,23),(4,17),(5,19),(6,21),(6,22),(7,13),(7,20),(8,9),(8,22),(9,7),(9,16),(10,4),(11,3),(11,14),(12,6),(12,8),(12,14),(13,25),(14,21),(14,23),(15,17),(16,19),(16,20),(18,24),(19,10),(20,25),(21,18),(22,5),(22,16),(23,1),(23,18),(24,2),(24,25),(25,15)],26)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,1),(1,3),(1,4),(2,21),(3,6),(3,22),(4,5),(4,22),(5,20),(6,7),(6,23),(7,19),(8,13),(8,18),(9,14),(9,17),(10,26),(11,26),(12,27),(13,24),(14,2),(14,25),(15,13),(15,27),(16,12),(16,25),(17,8),(17,15),(17,25),(18,10),(18,24),(19,12),(19,15),(20,14),(20,16),(21,10),(21,11),(22,9),(22,20),(22,23),(23,16),(23,17),(23,19),(24,26),(25,18),(25,21),(25,27),(27,11),(27,24)],28)=>([],1)
([(0,2),(0,3),(1,8),(1,10),(2,1),(3,5),(3,7),(4,26),(5,22),(6,20),(7,12),(7,22),(8,21),(9,18),(9,19),(10,21),(10,25),(11,14),(11,15),(12,9),(12,24),(12,25),(13,27),(14,27),(15,27),(16,13),(17,14),(18,16),(19,17),(20,11),(20,17),(21,4),(21,23),(22,6),(22,24),(23,16),(23,26),(24,19),(24,20),(25,18),(25,23),(26,13),(26,15)],28)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
([(0,11),(0,13),(1,19),(2,20),(3,26),(4,17),(4,22),(5,16),(6,14),(6,21),(7,14),(7,15),(8,9),(9,1),(9,15),(10,4),(10,25),(11,8),(12,6),(12,7),(12,16),(13,5),(13,12),(14,23),(15,19),(15,23),(16,10),(16,21),(17,26),(17,27),(18,20),(19,22),(19,24),(21,25),(22,27),(23,24),(24,27),(25,3),(25,17),(26,2),(26,18),(27,18)],28)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,7),(0,8),(0,9),(2,18),(3,19),(4,23),(5,14),(5,20),(6,10),(6,17),(7,15),(7,22),(8,15),(8,21),(9,6),(9,21),(9,22),(10,24),(11,27),(12,2),(12,27),(13,1),(14,3),(14,25),(15,4),(15,26),(16,13),(17,14),(17,24),(18,13),(19,16),(20,12),(20,25),(21,5),(21,17),(21,26),(22,10),(22,26),(23,11),(23,12),(24,11),(24,25),(25,19),(25,27),(26,20),(26,23),(26,24),(27,16),(27,18)],28)=>([],1)
([(0,8),(0,9),(0,12),(1,25),(2,15),(3,22),(4,24),(5,14),(6,11),(6,23),(7,10),(7,26),(8,6),(8,17),(9,7),(9,21),(10,13),(10,19),(11,13),(11,18),(12,17),(12,21),(13,27),(15,5),(16,15),(17,23),(18,24),(18,27),(19,16),(19,27),(20,22),(21,1),(21,26),(22,14),(23,4),(23,18),(24,3),(24,20),(25,2),(25,16),(26,19),(26,25),(27,20)],28)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
([(0,8),(0,12),(1,14),(1,26),(2,16),(3,25),(4,20),(5,18),(6,22),(6,24),(7,14),(7,21),(8,23),(9,10),(9,24),(10,7),(10,17),(11,5),(12,13),(12,23),(13,6),(13,9),(13,15),(14,27),(15,22),(15,25),(16,18),(17,20),(17,21),(19,26),(20,11),(21,27),(22,19),(23,3),(23,15),(24,4),(24,17),(25,1),(25,19),(26,2),(26,27),(27,16)],28)=>([(0,4),(2,3),(3,1),(4,2)],5)
([(0,2),(0,3),(1,9),(1,12),(2,1),(3,5),(3,8),(4,23),(5,24),(6,17),(7,22),(8,13),(8,24),(9,10),(9,27),(10,26),(11,16),(11,20),(12,19),(12,27),(13,18),(13,19),(15,28),(16,4),(16,28),(17,7),(18,17),(19,25),(20,22),(20,28),(21,14),(22,21),(23,14),(24,6),(24,18),(25,15),(25,20),(26,15),(26,16),(27,11),(27,25),(27,26),(28,21),(28,23)],29)=>([(0,5),(2,6),(3,6),(4,1),(5,2),(5,3),(6,4)],7)
([(0,9),(0,10),(1,8),(1,13),(2,1),(3,23),(4,22),(5,18),(6,27),(7,2),(7,26),(8,24),(9,7),(9,25),(10,6),(10,25),(11,20),(11,21),(12,15),(12,17),(13,20),(13,24),(14,28),(15,11),(15,28),(16,5),(17,3),(17,28),(19,22),(20,19),(21,16),(22,18),(23,16),(24,4),(24,19),(25,12),(25,26),(25,27),(26,14),(26,15),(27,14),(27,17),(28,21),(28,23)],29)=>([(0,4),(1,6),(2,6),(4,5),(5,1),(5,2),(6,3)],7)
([(0,24),(1,23),(2,20),(3,22),(3,26),(4,20),(4,22),(5,23),(5,24),(5,26),(7,12),(8,19),(9,27),(10,29),(11,29),(12,6),(13,16),(13,27),(14,17),(14,27),(15,21),(16,10),(16,28),(17,11),(17,28),(18,12),(19,7),(19,18),(20,15),(21,10),(21,11),(22,15),(22,25),(23,9),(23,13),(24,9),(24,14),(25,16),(25,17),(25,21),(26,13),(26,14),(26,25),(27,8),(27,28),(28,19),(28,29),(29,18)],30)=>([],1)
([(0,1),(1,4),(1,5),(2,23),(3,16),(4,7),(4,24),(5,6),(5,24),(6,22),(7,8),(7,25),(8,21),(9,13),(9,20),(10,15),(10,19),(11,28),(12,29),(13,26),(14,3),(14,28),(15,2),(15,27),(17,13),(17,29),(18,12),(18,27),(19,9),(19,17),(19,27),(20,14),(20,26),(21,12),(21,17),(22,15),(22,18),(23,11),(23,14),(24,10),(24,22),(24,25),(25,18),(25,19),(25,21),(26,28),(27,20),(27,23),(27,29),(28,16),(29,11),(29,26)],30)=>([],1)
([(0,2),(0,3),(1,9),(1,12),(2,1),(3,5),(3,8),(4,28),(5,24),(6,22),(7,17),(8,13),(8,24),(9,23),(10,15),(10,16),(11,20),(11,21),(12,23),(12,27),(13,11),(13,26),(13,27),(14,29),(15,29),(16,7),(16,29),(18,16),(19,14),(20,19),(21,18),(22,10),(22,18),(23,4),(23,25),(24,6),(24,26),(25,19),(25,28),(26,21),(26,22),(27,20),(27,25),(28,14),(28,15),(29,17)],30)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
([(0,9),(0,10),(1,26),(2,16),(3,23),(4,25),(5,13),(5,24),(6,8),(6,27),(7,15),(8,12),(8,28),(9,22),(10,6),(10,11),(10,22),(11,18),(11,27),(12,14),(12,20),(13,14),(13,19),(14,29),(16,7),(17,16),(18,24),(19,25),(19,29),(20,17),(20,29),(21,23),(22,5),(22,18),(23,15),(24,4),(24,19),(25,3),(25,21),(26,2),(26,17),(27,1),(27,28),(28,20),(28,26),(29,21)],30)=>([(0,9),(2,4),(3,2),(4,6),(5,3),(6,8),(7,5),(8,1),(9,7)],10)
([(0,13),(2,25),(2,26),(5,23),(6,24),(7,14),(7,21),(8,14),(8,22),(9,12),(9,23),(10,1),(10,18),(11,10),(11,16),(12,7),(12,8),(12,15),(13,5),(13,9),(14,11),(14,28),(15,21),(15,22),(15,24),(16,17),(16,18),(19,25),(19,29),(20,26),(20,29),(21,19),(21,28),(22,20),(22,28),(23,6),(23,15),(24,2),(24,19),(24,20),(25,4),(25,27),(26,3),(26,27),(28,16),(28,29),(29,17),(29,27)],30)=>([],1)
([(0,5),(0,6),(2,23),(3,25),(4,22),(5,24),(6,7),(6,8),(6,24),(7,16),(7,20),(8,10),(8,19),(8,20),(9,15),(9,21),(10,11),(10,18),(11,26),(12,29),(13,1),(14,4),(14,29),(15,2),(15,28),(16,3),(16,27),(17,13),(18,15),(18,26),(19,11),(19,27),(20,9),(20,18),(20,27),(21,14),(21,28),(22,13),(23,17),(24,16),(24,19),(25,12),(25,14),(26,12),(26,28),(27,21),(27,25),(27,26),(28,23),(28,29),(29,17),(29,22)],30)=>([],1)
([(0,1),(1,4),(1,5),(2,24),(3,21),(4,7),(4,25),(5,6),(5,25),(6,23),(7,8),(7,26),(8,22),(9,16),(9,20),(10,15),(10,19),(11,29),(12,29),(14,30),(15,2),(15,28),(16,3),(16,27),(17,16),(17,30),(18,14),(18,28),(19,9),(19,17),(19,28),(20,12),(20,27),(21,13),(22,14),(22,17),(23,15),(23,18),(24,11),(24,12),(25,10),(25,23),(25,26),(26,18),(26,19),(26,22),(27,21),(27,29),(28,20),(28,24),(28,30),(29,13),(30,11),(30,27)],31)=>([],1)
([(0,6),(0,7),(2,25),(3,23),(4,22),(5,24),(6,9),(6,10),(6,26),(7,5),(7,26),(8,15),(8,21),(9,16),(9,20),(10,16),(10,19),(11,30),(12,27),(13,1),(14,4),(14,30),(15,3),(15,29),(16,2),(16,28),(17,13),(18,15),(18,27),(19,12),(19,28),(20,8),(20,18),(20,28),(21,14),(21,29),(22,13),(23,17),(24,12),(24,18),(25,11),(25,14),(26,19),(26,20),(26,24),(27,11),(27,29),(28,21),(28,25),(28,27),(29,23),(29,30),(30,17),(30,22)],31)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(1,12),(1,13),(1,14),(1,15),(2,9),(2,10),(2,11),(2,15),(3,7),(3,8),(3,11),(3,14),(4,6),(4,8),(4,10),(4,13),(5,6),(5,7),(5,9),(5,12),(6,16),(6,19),(6,22),(7,16),(7,17),(7,20),(8,16),(8,18),(8,21),(9,17),(9,19),(9,23),(10,18),(10,19),(10,24),(11,17),(11,18),(11,25),(12,20),(12,22),(12,23),(13,21),(13,22),(13,24),(14,20),(14,21),(14,25),(15,23),(15,24),(15,25),(16,29),(16,30),(17,26),(17,30),(18,27),(18,30),(19,28),(19,30),(20,26),(20,29),(21,27),(21,29),(22,28),(22,29),(23,26),(23,28),(24,27),(24,28),(25,26),(25,27),(26,31),(27,31),(28,31),(29,31),(30,31)],32)=>([(0,1)],2)
([(0,1),(1,5),(1,6),(2,24),(3,27),(4,23),(5,8),(5,28),(6,9),(6,28),(7,26),(8,7),(8,29),(9,25),(10,16),(10,22),(11,17),(11,21),(13,30),(14,33),(15,4),(15,33),(16,2),(16,32),(17,3),(17,31),(18,16),(18,30),(19,12),(20,13),(20,31),(21,10),(21,18),(21,31),(22,15),(22,32),(23,12),(24,19),(25,17),(25,20),(26,13),(26,18),(27,14),(27,15),(28,11),(28,25),(28,29),(29,20),(29,21),(29,26),(30,14),(30,32),(31,22),(31,27),(31,30),(32,24),(32,33),(33,19),(33,23)],34)=>([],1)
([(0,8),(0,9),(2,28),(3,24),(4,23),(5,27),(6,7),(6,29),(7,25),(8,5),(8,26),(9,6),(9,26),(10,17),(10,21),(11,16),(11,22),(12,33),(13,30),(14,1),(15,4),(15,33),(16,3),(16,32),(17,2),(17,31),(18,14),(19,16),(19,30),(20,13),(20,31),(21,11),(21,19),(21,31),(22,15),(22,32),(23,14),(24,18),(25,13),(25,19),(26,10),(26,27),(26,29),(27,17),(27,20),(28,12),(28,15),(29,20),(29,21),(29,25),(30,12),(30,32),(31,22),(31,28),(31,30),(32,24),(32,33),(33,18),(33,23)],34)=>([],1)
([(0,2),(2,6),(2,7),(3,25),(4,28),(5,24),(6,9),(6,29),(7,10),(7,29),(8,27),(9,8),(9,30),(10,26),(11,17),(11,23),(12,18),(12,22),(13,31),(14,34),(15,1),(16,5),(16,34),(17,3),(17,33),(18,4),(18,32),(19,15),(20,17),(20,31),(21,13),(21,32),(22,11),(22,20),(22,32),(23,16),(23,33),(24,15),(25,19),(26,18),(26,21),(27,13),(27,20),(28,14),(28,16),(29,12),(29,26),(29,30),(30,21),(30,22),(30,27),(31,14),(31,33),(32,23),(32,28),(32,31),(33,25),(33,34),(34,19),(34,24)],35)=>([],1)
([(0,23),(1,22),(2,23),(2,34),(3,33),(3,34),(4,33),(4,35),(5,22),(5,35),(7,20),(8,19),(9,21),(10,11),(11,6),(12,16),(13,15),(14,13),(15,17),(16,14),(17,18),(18,11),(19,9),(19,27),(20,8),(20,28),(21,10),(21,18),(22,12),(23,7),(23,24),(24,20),(24,32),(25,16),(25,31),(26,31),(26,32),(27,17),(27,21),(28,19),(28,29),(29,15),(29,27),(30,13),(30,29),(31,14),(31,30),(32,28),(32,30),(33,25),(33,26),(34,24),(34,26),(35,12),(35,25)],36)=>([],1)
([(0,28),(1,24),(2,23),(3,23),(3,29),(4,24),(4,30),(5,28),(5,29),(5,30),(6,7),(8,19),(9,20),(10,14),(10,15),(11,34),(12,32),(13,33),(14,8),(14,35),(15,9),(15,35),(16,6),(17,12),(17,31),(18,13),(18,31),(19,16),(20,16),(21,11),(21,32),(22,11),(22,33),(23,26),(24,27),(25,21),(25,22),(25,31),(26,12),(26,21),(27,13),(27,22),(28,17),(28,18),(29,17),(29,25),(29,26),(30,18),(30,25),(30,27),(31,10),(31,32),(31,33),(32,14),(32,34),(33,15),(33,34),(34,35),(35,19),(35,20)],36)=>([],1)
([(0,3),(3,4),(3,8),(4,20),(5,23),(6,21),(7,22),(8,12),(8,20),(9,2),(9,19),(10,13),(10,30),(11,9),(11,35),(12,10),(12,34),(13,15),(13,33),(14,11),(14,31),(15,14),(15,32),(20,7),(20,34),(21,5),(21,26),(22,6),(22,27),(23,1),(23,18),(24,25),(24,26),(25,28),(25,29),(26,23),(26,28),(27,21),(27,24),(28,17),(28,18),(29,16),(29,17),(30,27),(30,33),(31,29),(31,35),(32,25),(32,31),(33,24),(33,32),(34,22),(34,30),(35,16),(35,19)],36)=>([],1)
([(0,14),(2,24),(3,23),(6,16),(6,25),(7,17),(7,26),(8,19),(8,20),(9,3),(9,18),(10,2),(10,18),(11,8),(11,28),(11,29),(12,4),(12,21),(13,5),(13,22),(14,15),(15,9),(15,10),(16,30),(16,33),(17,30),(17,34),(18,11),(18,23),(18,24),(19,25),(19,35),(20,26),(20,35),(23,27),(23,28),(24,27),(24,29),(25,12),(25,33),(26,13),(26,34),(27,32),(28,6),(28,19),(28,32),(29,7),(29,20),(29,32),(30,1),(30,31),(32,16),(32,17),(32,35),(33,21),(33,31),(34,22),(34,31),(35,33),(35,34)],36)=>([],1)
([(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),(1,17),(1,18),(1,19),(1,20),(1,21),(2,13),(2,14),(2,15),(2,16),(2,21),(3,10),(3,11),(3,12),(3,16),(3,20),(4,8),(4,9),(4,12),(4,15),(4,19),(5,7),(5,9),(5,11),(5,14),(5,18),(6,7),(6,8),(6,10),(6,13),(6,17),(7,22),(7,25),(7,28),(7,34),(8,22),(8,23),(8,26),(8,32),(9,22),(9,24),(9,27),(9,33),(10,23),(10,25),(10,29),(10,35),(11,24),(11,25),(11,30),(11,36),(12,23),(12,24),(12,31),(12,37),(13,26),(13,28),(13,29),(13,38),(14,27),(14,28),(14,30),(14,39),(15,26),(15,27),(15,31),(15,40),(16,29),(16,30),(16,31),(16,41),(17,32),(17,34),(17,35),(17,38),(18,33),(18,34),(18,36),(18,39),(19,32),(19,33),(19,37),(19,40),(20,35),(20,36),(20,37),(20,41),(21,38),(21,39),(21,40),(21,41),(22,45),(22,46),(22,56),(23,42),(23,46),(23,53),(24,43),(24,46),(24,54),(25,44),(25,46),(25,55),(26,42),(26,45),(26,47),(27,43),(27,45),(27,48),(28,44),(28,45),(28,49),(29,42),(29,44),(29,50),(30,43),(30,44),(30,51),(31,42),(31,43),(31,52),(32,47),(32,53),(32,56),(33,48),(33,54),(33,56),(34,49),(34,55),(34,56),(35,50),(35,53),(35,55),(36,51),(36,54),(36,55),(37,52),(37,53),(37,54),(38,47),(38,49),(38,50),(39,48),(39,49),(39,51),(40,47),(40,48),(40,52),(41,50),(41,51),(41,52),(42,57),(42,62),(43,58),(43,62),(44,59),(44,62),(45,60),(45,62),(46,61),(46,62),(47,57),(47,60),(48,58),(48,60),(49,59),(49,60),(50,57),(50,59),(51,58),(51,59),(52,57),(52,58),(53,57),(53,61),(54,58),(54,61),(55,59),(55,61),(56,60),(56,61),(57,63),(58,63),(59,63),(60,63),(61,63),(62,63)],64)=>([],1)
click to show experimental identities
(only identities of compositions of up to three maps are shown)
Description
The lattice of antichains of maximal size in a poset.
The set of antichains of maximal size 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$.
This is a sublattice of the lattice of all antichains with respect to the same order relation. In particular, it is distributive.
The set of antichains of maximal size 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$.
This is a sublattice of the lattice of all antichains with respect to the same order relation. In particular, it is distributive.
References
[1] Freese, R. An application of Dilworth's lattice of maximal antichains MathSciNet:0332584
Sage code
def mapping(P): A = [tuple(sorted(X)) for X in P.maximal_antichains()] if A: m = max(len(X) for X in A) A = [X for X in A if len(X) == m] if len(A) > 20: raise ValueError("Poset has too many maximum sized antichains for this map") return LatticePoset([A, lambda X, Y: all(any(P.le(x, y) for y in Y) for x in X)])
Weight
26
Created
Jan 27, 2021 at 09:19 by Martin Rubey
Updated
Jan 28, 2021 at 17:46 by Christian Stump
searching the database
Sorry, this map was not found in the database.